Rev 4259 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4259 | Rev 4482 | ||
---|---|---|---|
Line 50... | Line 50... | ||
50 | #define SEEK_END 2 |
50 | #define SEEK_END 2 |
51 | #endif |
51 | #endif |
52 | 52 | ||
53 | extern ssize_t write(int, const void *, size_t); |
53 | extern ssize_t write(int, const void *, size_t); |
54 | extern ssize_t read(int, void *, size_t); |
54 | extern ssize_t read(int, void *, size_t); |
- | 55 | ||
55 | extern off_t lseek(int, off_t, int); |
56 | extern off_t lseek(int, off_t, int); |
56 | extern int ftruncate(int, off_t); |
57 | extern int ftruncate(int, off_t); |
- | 58 | ||
57 | extern int close(int); |
59 | extern int close(int); |
- | 60 | extern int fsync(int); |
|
58 | extern int unlink(const char *); |
61 | extern int unlink(const char *); |
- | 62 | ||
- | 63 | extern char *getcwd(char *buf, size_t); |
|
59 | extern int rmdir(const char *); |
64 | extern int rmdir(const char *); |
60 | extern int chdir(const char *); |
65 | extern int chdir(const char *); |
61 | extern char *getcwd(char *buf, size_t); |
- | |
62 | 66 | ||
63 | extern void _exit(int status) __attribute__ ((noreturn)); |
67 | extern void _exit(int status) __attribute__ ((noreturn)); |
64 | extern void *sbrk(ssize_t incr); |
68 | extern void *sbrk(ssize_t incr); |
65 | extern int usleep(unsigned long usec); |
69 | extern int usleep(unsigned long usec); |
66 | extern unsigned int sleep(unsigned int seconds); |
70 | extern unsigned int sleep(unsigned int seconds); |