Rev 2755 | Rev 3757 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2755 | Rev 2773 | ||
|---|---|---|---|
| Line 36... | Line 36... | ||
| 36 | #define LIBC_UNISTD_H_ |
36 | #define LIBC_UNISTD_H_ |
| 37 | 37 | ||
| 38 | #include <sys/types.h> |
38 | #include <sys/types.h> |
| 39 | #include <libarch/config.h> |
39 | #include <libarch/config.h> |
| 40 | 40 | ||
| - | 41 | #ifndef NULL |
|
| 41 | #define NULL 0 |
42 | #define NULL 0 |
| - | 43 | #endif |
|
| - | 44 | ||
| 42 | #define getpagesize() (PAGE_SIZE) |
45 | #define getpagesize() (PAGE_SIZE) |
| 43 | 46 | ||
| 44 | #define SEEK_SET 0 |
47 | #define SEEK_SET 0 |
| 45 | #define SEEK_CUR 1 |
48 | #define SEEK_CUR 1 |
| 46 | #define SEEK_END 2 |
49 | #define SEEK_END 2 |