26 lines
586 B
C
26 lines
586 B
C
#ifndef _UNISTD_H
|
|
#define _UNISTD_H
|
|
|
|
#include <sys/types.h>
|
|
|
|
int chdir(const char *);
|
|
int close(int);
|
|
char *getcwd(char *, size_t);
|
|
pid_t getpid(void);
|
|
pid_t getppid(void);
|
|
int isatty(int);
|
|
off_t lseek(int, off_t, int); /* SEEK_ */
|
|
ssize_t read(int, void *, size_t);
|
|
ssize_t write(int, const void *, size_t);
|
|
ssize_t readlink(const char *, char *, size_t);
|
|
int unlink(const char *);
|
|
int rmdir(const char *);
|
|
int usleep(useconds_t);
|
|
int ftruncate(int, off_t);
|
|
long sysconf(int);
|
|
int execv(const char *, char *const []);
|
|
|
|
#define _SC_PAGESIZE 1
|
|
#define _SC_PAGE_SIZE _SC_PAGESIZE
|
|
|
|
#endif
|