Changeset f7e69f5 in mainline for uspace/lib/posix
- Timestamp:
- 2012-05-25T23:17:33Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e1e4192
- Parents:
- 0a0e6e7 (diff), df3f85f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/lib/posix
- Files:
-
- 2 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/Makefile
r0a0e6e7 rf7e69f5 43 43 fcntl.c \ 44 44 fnmatch.c \ 45 getopt.c \ 45 46 locale.c \ 46 47 math.c \ -
uspace/lib/posix/errno.h
r0a0e6e7 rf7e69f5 66 66 #undef errno 67 67 #define errno (*__posix_errno()) 68 69 #include "unistd.h" 68 70 69 71 extern int *__posix_errno(void); -
uspace/lib/posix/pwd.c
r0a0e6e7 rf7e69f5 38 38 #include "string.h" 39 39 #include "errno.h" 40 #include "assert.h" 40 41 41 42 static bool entry_read = false; -
uspace/lib/posix/stdbool.h
r0a0e6e7 rf7e69f5 37 37 38 38 #ifdef LIBC_BOOL_H_ 39 #error "You can't include bool.h and stdbool.h at the same time." 39 #if (!defined(POSIX_STDIO_H_)) \ 40 && (!defined(POSIX_STDLIB_H_)) \ 41 && (!defined(POSIX_STRING_H_)) 42 #error "You can't include bool.h and stdbool.h at the same time." 40 43 #endif 44 #endif 45 41 46 #define LIBC_BOOL_H_ 42 47 -
uspace/lib/posix/stdio.h
r0a0e6e7 rf7e69f5 37 37 #define POSIX_STDIO_H_ 38 38 39 #include "stddef.h" 40 #include "unistd.h" 39 41 #include "libc/stdio.h" 40 42 #include "sys/types.h" -
uspace/lib/posix/time.c
r0a0e6e7 rf7e69f5 45 45 #include "errno.h" 46 46 #include "signal.h" 47 #include "assert.h" 47 48 48 49 #include "libc/malloc.h" -
uspace/lib/posix/unistd.c
r0a0e6e7 rf7e69f5 49 49 /* Array of environment variable strings (NAME=VALUE). */ 50 50 char **posix_environ = NULL; 51 char *posix_optarg; 51 52 52 53 /** -
uspace/lib/posix/unistd.h
r0a0e6e7 rf7e69f5 43 43 #define _exit exit 44 44 45 /* Option Arguments */ 46 extern char *optarg; 45 extern char *posix_optarg; 47 46 extern int optind, opterr, optopt; 48 extern int getopt(int, char * const [], const char *);47 extern int posix_getopt(int, char * const [], const char *); 49 48 50 49 /* Environment */ … … 144 143 145 144 #ifndef LIBPOSIX_INTERNAL 145 #define getopt posix_getopt 146 #define optarg posix_optarg 147 146 148 #define environ posix_environ 147 149
Note:
See TracChangeset
for help on using the changeset viewer.
