Changeset 371bd7d in mainline for uspace/lib/c/include/unistd.h
- Timestamp:
- 2010-03-27T09:22:17Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 36a75a2
- Parents:
- cd82bb1 (diff), eaf22d4 (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 ) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/unistd.h
rcd82bb1 r371bd7d 47 47 #ifndef SEEK_SET 48 48 #define SEEK_SET 0 49 #endif 50 51 #ifndef SEEK_CUR 49 52 #define SEEK_CUR 1 53 #endif 54 55 #ifndef SEEK_END 50 56 #define SEEK_END 2 51 57 #endif 58 59 typedef uint32_t useconds_t; 52 60 53 61 extern int dup2(int oldfd, int newfd); … … 56 64 extern ssize_t read(int, void *, size_t); 57 65 58 extern off _t lseek(int, off_t, int);59 extern int ftruncate(int, off_t);66 extern off64_t lseek(int, off64_t, int); 67 extern int ftruncate(int, aoff64_t); 60 68 61 69 extern int close(int); … … 67 75 extern int chdir(const char *); 68 76 69 extern void _exit(int status) __attribute__((noreturn));70 extern int usleep(u nsigned long usec);71 extern unsigned int sleep(unsigned int seconds);77 extern void _exit(int) __attribute__((noreturn)); 78 extern int usleep(useconds_t); 79 extern unsigned int sleep(unsigned int); 72 80 73 81 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
