Rev 2616 | Rev 2693 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2616 | Rev 2684 | ||
---|---|---|---|
Line 39... | Line 39... | ||
39 | #include <libarch/config.h> |
39 | #include <libarch/config.h> |
40 | 40 | ||
41 | #define NULL 0 |
41 | #define NULL 0 |
42 | #define getpagesize() (PAGE_SIZE) |
42 | #define getpagesize() (PAGE_SIZE) |
43 | 43 | ||
- | 44 | #define SEEK_SET 0 |
|
- | 45 | #define SEEK_CUR 1 |
|
- | 46 | #define SEEK_END 2 |
|
- | 47 | ||
44 | extern ssize_t write(int fd, const void * buf, size_t count); |
48 | extern ssize_t write(int fd, const void * buf, size_t count); |
45 | extern ssize_t read(int fd, void * buf, size_t count); |
49 | extern ssize_t read(int fd, void * buf, size_t count); |
- | 50 | extern off_t lseek(int, off_t, int); |
|
- | 51 | ||
46 | extern void _exit(int status); |
52 | extern void _exit(int status); |
47 | extern void *sbrk(ssize_t incr); |
53 | extern void *sbrk(ssize_t incr); |
48 | extern int usleep(unsigned long usec); |
54 | extern int usleep(unsigned long usec); |
49 | extern unsigned int sleep(unsigned int seconds); |
55 | extern unsigned int sleep(unsigned int seconds); |
50 | 56 |