Changeset 00c2de63 in mainline for uspace/lib/posix/unistd.h
- Timestamp:
- 2011-07-29T14:50:22Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b6759f4
- Parents:
- 6c69d19 (diff), 7ae249d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/unistd.h
r6c69d19 r00c2de63 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.