Changeset b4d6252 in mainline
- Timestamp:
- 2011-06-20T02:21:21Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5c5117c, dddc3d9
- Parents:
- fb90deb
- Location:
- uspace/lib/posix
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/inttypes.h
rfb90deb rb4d6252 36 36 #define POSIX_INTTYPES_H_ 37 37 38 #include " libc/stdint.h"38 #include "stdint.h" 39 39 #include "libc/inttypes.h" 40 40 -
uspace/lib/posix/limits.h
rfb90deb rb4d6252 36 36 #define POSIX_LIMITS_H_ 37 37 38 #include "libc/stdint.h" 38 39 #include "libc/sys/types.h" 39 40 -
uspace/lib/posix/stddef.h
rfb90deb rb4d6252 42 42 #endif 43 43 44 #define offsetof(type,member) ((size_t) &(((type *) 0)->member)) 45 44 46 typedef ssize_t posix_ptrdiff_t; 45 47 -
uspace/lib/posix/string.h
rfb90deb rb4d6252 102 102 extern size_t posix_strnlen(const char *s, size_t n); 103 103 104 /* Legacy declarations */ 105 extern int posix_ffs(int i); 106 104 107 #ifndef LIBPOSIX_INTERNAL 105 108 #define strcpy posix_strcpy … … 134 137 #define strlen posix_strlen 135 138 #define strnlen posix_strnlen 139 140 #define ffs posix_ffs 136 141 #endif 137 142 -
uspace/lib/posix/unistd.c
rfb90deb rb4d6252 38 38 #include "internal/common.h" 39 39 #include "unistd.h" 40 41 /* Array of environment variable strings (NAME=VALUE). */ 42 char **environ = NULL; 40 43 41 44 /** -
uspace/lib/posix/unistd.h
rfb90deb rb4d6252 48 48 extern int getopt(int, char * const [], const char *); 49 49 50 /* Environmental Variables */ 51 extern char **posix_environ; 52 50 53 /* Identifying Terminals */ 51 54 extern int posix_isatty(int fd); … … 85 88 86 89 #ifndef LIBPOSIX_INTERNAL 90 #define environ posix_environ 91 87 92 #define isatty posix_isatty 88 93
Note:
See TracChangeset
for help on using the changeset viewer.