Changeset 8ad5470 in mainline for uspace/lib
- Timestamp:
- 2012-05-24T15:30:53Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fa3704d
- Parents:
- 15b794d (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
- Files:
-
- 2 added
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/stacktrace.c
r15b794d r8ad5470 38 38 #include <sys/types.h> 39 39 #include <errno.h> 40 #include <unistd.h> 40 41 41 42 static int stacktrace_read_uintptr(void *arg, uintptr_t addr, uintptr_t *data); -
uspace/lib/c/generic/stats.c
r15b794d r8ad5470 40 40 #include <inttypes.h> 41 41 #include <malloc.h> 42 #include <unistd.h> 42 43 43 44 #define SYSINFO_STATS_MAX_PATH 64 -
uspace/lib/c/generic/sysinfo.c
r15b794d r8ad5470 39 39 #include <malloc.h> 40 40 #include <bool.h> 41 #include <unistd.h> 41 42 42 43 /** Get sysinfo keys size -
uspace/lib/c/generic/time.c
r15b794d r8ad5470 43 43 #include <ddi.h> 44 44 #include <libc.h> 45 #include <unistd.h> 45 46 46 47 /** Pointer to kernel shared variables with time */ -
uspace/lib/c/include/errno.h
r15b794d r8ad5470 37 37 38 38 #include <abi/errno.h> 39 #include <fibril.h>40 39 41 40 #define errno (*(__errno())) -
uspace/lib/c/include/stdarg.h
r15b794d r8ad5470 43 43 #define va_arg(ap, type) __builtin_va_arg(ap, type) 44 44 #define va_end(ap) __builtin_va_end(ap) 45 #define va_copy(dst, src) __builtin_va_copy(dst, src) 45 46 46 47 #endif -
uspace/lib/c/include/stdio.h
r15b794d r8ad5470 39 39 #include <stdarg.h> 40 40 #include <str.h> 41 #include <adt/list.h>42 41 43 42 #ifndef NVERIFY_PRINTF -
uspace/lib/c/include/unistd.h
r15b794d r8ad5470 58 58 #define getpagesize() (PAGE_SIZE) 59 59 60 extern int dup2(int oldfd, int newfd);60 extern int dup2(int, int); 61 61 62 62 extern ssize_t write(int, const void *, size_t); … … 73 73 extern int unlink(const char *); 74 74 75 extern char *getcwd(char * buf, size_t);75 extern char *getcwd(char *, size_t); 76 76 extern int rmdir(const char *); 77 77 extern int chdir(const char *); -
uspace/lib/clui/tinput.h
r15b794d r8ad5470 37 37 #define LIBCLUI_TINPUT_H_ 38 38 39 #include <adt/list.h>40 #include <async.h>41 39 #include <inttypes.h> 42 40 #include <io/console.h> -
uspace/lib/drv/generic/logbuf.c
r15b794d r8ad5470 35 35 #include <ddf/log.h> 36 36 #include <assert.h> 37 #include <unistd.h> 37 38 38 39 /** Formatting string for printing number of not-printed items. */ -
uspace/lib/drv/include/ddf/interrupt.h
r15b794d r8ad5470 36 36 #define DDF_INTERRUPT_H_ 37 37 38 #include <libarch/common.h> 39 #include <libarch/types.h> 38 40 #include <abi/ddi/irq.h> 39 41 #include <adt/list.h> -
uspace/lib/posix/Makefile
r15b794d r8ad5470 43 43 fcntl.c \ 44 44 fnmatch.c \ 45 getopt.c \ 45 46 locale.c \ 46 47 math.c \ -
uspace/lib/posix/errno.h
r15b794d r8ad5470 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
r15b794d r8ad5470 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
r15b794d r8ad5470 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
r15b794d r8ad5470 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
r15b794d r8ad5470 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
r15b794d r8ad5470 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
r15b794d r8ad5470 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.