Changes in uspace/lib/posix/unistd.h [4cf8ca6:75406dc] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/unistd.h
r4cf8ca6 r75406dc 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); 74 72 75 extern ssize_t posix_read(int fildes, void *buf, size_t nbyte); 76 extern ssize_t posix_write(int fildes, const void *buf, size_t nbyte); 73 77 74 /* Deleting Files */ 78 extern int posix_fsync(int fildes); 79 extern int posix_ftruncate(int fildes, posix_off_t length); 80 81 extern int posix_rmdir(const char *path); 75 82 extern int posix_unlink(const char *path); 83 84 extern int posix_dup(int fildes); 85 extern int posix_dup2(int fildes, int fildes2); 76 86 77 87 /* Standard Streams */ … … 144 154 145 155 #define getcwd posix_getcwd 156 #define chdir posix_chdir 146 157 147 158 #define isatty posix_isatty … … 154 165 #define getgid posix_getgid 155 166 167 #define close posix_close 156 168 #define read posix_read 157 169 #define write posix_write 170 #define fsync posix_fsync 171 #define ftruncate posix_ftruncate 172 #define rmdir posix_rmdir 158 173 #define unlink posix_unlink 174 #define dup posix_dup 175 #define dup2 posix_dup2 159 176 160 177 #define access posix_access
Note:
See TracChangeset
for help on using the changeset viewer.