Changes in uspace/lib/posix/unistd.h [2a53f71:4cf8ca6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/unistd.h
r2a53f71 r4cf8ca6 60 60 /* Working Directory */ 61 61 extern char *posix_getcwd(char *buf, size_t size); 62 extern int posix_chdir(const char *path);63 62 64 63 /* Query Memory Parameters */ … … 70 69 extern posix_gid_t posix_getgid(void); 71 70 72 /* File Manipulation */ 73 extern int posix_close(int fildes); 71 /* File Input/Output */ 74 72 extern ssize_t posix_read(int fildes, void *buf, size_t nbyte); 75 extern ssize_t posix_write(int fildes, const void *buf, size_t nbyte); 76 extern int posix_fsync(int fildes); 77 extern int posix_ftruncate(int fildes, posix_off_t length); 78 extern int posix_rmdir(const char *path); 73 74 /* Deleting Files */ 79 75 extern int posix_unlink(const char *path); 80 extern int posix_dup(int fildes);81 extern int posix_dup2(int fildes, int fildes2);82 76 83 77 /* Standard Streams */ … … 150 144 151 145 #define getcwd posix_getcwd 152 #define chdir posix_chdir153 146 154 147 #define isatty posix_isatty … … 161 154 #define getgid posix_getgid 162 155 163 #define close posix_close164 156 #define read posix_read 165 #define write posix_write 166 #define fsync posix_fsync 167 #define ftruncate posix_ftruncate 168 #define rmdir posix_rmdir 157 169 158 #define unlink posix_unlink 170 #define dup posix_dup171 #define dup2 posix_dup2172 159 173 160 #define access posix_access
Note:
See TracChangeset
for help on using the changeset viewer.