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