Subversion Repositories HelenOS

Rev

Rev 2787 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2787 Rev 4377
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);
Line 56... Line 58...
56
extern int unlink(const char *);
58
extern int unlink(const char *);
57
extern int rmdir(const char *);
59
extern int rmdir(const char *);
58
extern int chdir(const char *);
60
extern int chdir(const char *);
59
extern char *getcwd(char *buf, size_t);
61
extern char *getcwd(char *buf, size_t);
60
 
62
 
61
extern void _exit(int status);
63
extern void _exit(int status) __attribute__ ((noreturn));
62
extern void *sbrk(ssize_t incr);
64
extern void *sbrk(ssize_t incr);
63
extern int usleep(unsigned long usec);
65
extern int usleep(unsigned long usec);
64
extern unsigned int sleep(unsigned int seconds);
66
extern unsigned int sleep(unsigned int seconds);
65
 
67
 
66
#endif
68
#endif