8 /* Symbolic constants for the "access" routine: */
9 #define R_OK 4 /* Test for Read permission */
10 #define W_OK 2 /* Test for Write permission */
11 #define X_OK 1 /* Test for eXecute permission */
12 #define F_OK 0 /* Test for existence of File */
14 /* Standard file descriptors. */
15 #define STDIN_FILENO 0 /* Standard input. */
16 #define STDOUT_FILENO 1 /* Standard output. */
17 #define STDERR_FILENO 2 /* Standard error output. */
21 #define SEEK_SET 0 /* Set file pointer to "offset" */
25 #define SEEK_CUR 1 /* Set file pointer to current plus "offset" */
29 #define SEEK_END 2 /* Set file pointer to EOF plus "offset" */
37 unsigned int alarm(unsigned int);
38 int access(const char *path, int mode);
39 int close(int handle);
41 int dup2(int oldfd, int newfd);
44 int link(const char *oldpath, const char *newpath);
45 off_t lseek(int fildes, off_t offset, int whence);
47 ssize_t read(int fd, void *buf, size_t count);
48 int rmdir(const char * path);
49 unsigned int sleep(unsigned int seconds);
50 int unlink(const char *fname);
51 ssize_t write(int fd, const void *buf, size_t count);
52 int chdir(const char *path);
53 char *getcwd(char *buf, size_t size);
55 int tcsetpgrp (int, pid_t);
58 /** not installed yet into EiC */
59 int execl(const char *s1, const char *s2, ...);
65 #endif /* end UNISTDH_ */