Rev 3386 | Rev 4581 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3386 | Rev 4153 | ||
---|---|---|---|
Line 42... | Line 42... | ||
42 | #define NULL 0 |
42 | #define NULL 0 |
43 | #endif |
43 | #endif |
44 | 44 | ||
45 | #define getpagesize() (PAGE_SIZE) |
45 | #define getpagesize() (PAGE_SIZE) |
46 | 46 | ||
- | 47 | #ifndef SEEK_SET |
|
47 | #define SEEK_SET 0 |
48 | #define SEEK_SET 0 |
48 | #define SEEK_CUR 1 |
49 | #define SEEK_CUR 1 |
49 | #define SEEK_END 2 |
50 | #define SEEK_END 2 |
- | 51 | #endif |
|
50 | 52 | ||
51 | extern ssize_t write(int, const void *, size_t); |
53 | extern ssize_t write(int, const void *, size_t); |
52 | extern ssize_t read(int, void *, size_t); |
54 | extern ssize_t read(int, void *, size_t); |
53 | extern off_t lseek(int, off_t, int); |
55 | extern off_t lseek(int, off_t, int); |
54 | extern int ftruncate(int, off_t); |
56 | extern int ftruncate(int, off_t); |