PSXSDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
unistd.h
Go to the documentation of this file.
1 /*
2  * unistd.h
3  *
4  * PSXSDK
5  */
6 
7 #ifndef _UNISTD_H
8 #define _UNISTD_H
9 
10 #include <types.h>
11 
12 int lseek(int fd, int off, int whence);
13 int read(int fd, void *buf, int nbytes);
14 int write(int fd, void *buf, int nbytes);
15 int close(int fd);
16 int cd(char *dirname);
17 
18 void swab(const void *src, void *dst, ssize_t len);
19 
20 #define chdir(dirname) cd(dirname)
21 
22 #endif