Changeset 46c20c8 in mainline for uspace/lib/c/include/unistd.h
- Timestamp:
- 2010-11-26T20:08:10Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 45df59a
- Parents:
- fb150d78 (diff), ffdd2b9 (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. - File:
-
- 1 moved
-
uspace/lib/c/include/unistd.h (moved) (moved from uspace/lib/libc/include/unistd.h ) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/unistd.h
rfb150d78 r46c20c8 37 37 38 38 #include <sys/types.h> 39 #include <time.h> 39 40 #include <libarch/config.h> 40 41 41 42 #ifndef NULL 42 #define NULL 043 #define NULL ((void *) 0) 43 44 #endif 44 45 … … 47 48 #ifndef SEEK_SET 48 49 #define SEEK_SET 0 50 #endif 51 52 #ifndef SEEK_CUR 49 53 #define SEEK_CUR 1 54 #endif 55 56 #ifndef SEEK_END 50 57 #define SEEK_END 2 51 58 #endif 52 53 typedef uint32_t useconds_t;54 59 55 60 extern int dup2(int oldfd, int newfd); … … 58 63 extern ssize_t read(int, void *, size_t); 59 64 60 extern off _t lseek(int, off_t, int);61 extern int ftruncate(int, off_t);65 extern off64_t lseek(int, off64_t, int); 66 extern int ftruncate(int, aoff64_t); 62 67 63 68 extern int close(int); … … 69 74 extern int chdir(const char *); 70 75 71 extern void _exit(int status) __attribute__((noreturn));72 extern int usleep(useconds_t uses);73 extern unsigned int sleep(unsigned int se);76 extern void _exit(int) __attribute__((noreturn)); 77 extern int usleep(useconds_t); 78 extern unsigned int sleep(unsigned int); 74 79 75 80 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
