Changeset 368ee04 in mainline for uspace/lib/posix/include
- Timestamp:
- 2017-04-05T18:10:39Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 93ad8166
- Parents:
- 39f892a9 (diff), 2166728 (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. - Location:
- uspace/lib/posix/include/posix
- Files:
-
- 3 edited
-
fcntl.h (modified) (1 diff)
-
sys/stat.h (modified) (2 diffs)
-
sys/types.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/include/posix/fcntl.h
r39f892a9 r368ee04 41 41 42 42 #include "sys/types.h" 43 #include "libc/fcntl.h"44 43 #include "errno.h" 44 45 #undef O_CREAT 46 #undef O_EXCL 47 #undef O_TRUNC 48 #undef O_APPEND 49 #undef O_RDONLY 50 #undef O_RDWR 51 #undef O_WRONLY 52 #define O_CREAT 1 53 #define O_EXCL 2 54 #define O_TRUNC 4 55 #define O_APPEND 8 56 #define O_RDONLY 16 57 #define O_RDWR 32 58 #define O_WRONLY 64 45 59 46 60 /* Mask for file access modes. */ -
uspace/lib/posix/include/posix/sys/stat.h
r39f892a9 r368ee04 115 115 __POSIX_DEF__(dev_t) st_dev; /* ID of device containing file */ 116 116 __POSIX_DEF__(ino_t) st_ino; /* inode number */ 117 mode_tst_mode; /* protection */117 __POSIX_DEF__(mode_t) st_mode; /* protection */ 118 118 __POSIX_DEF__(nlink_t) st_nlink; /* number of hard links */ 119 119 __POSIX_DEF__(uid_t) st_uid; /* user ID of owner */ … … 131 131 extern int __POSIX_DEF__(lstat)(const char *restrict path, struct __POSIX_DEF__(stat) *restrict st); 132 132 extern int __POSIX_DEF__(stat)(const char *restrict path, struct __POSIX_DEF__(stat) *restrict st); 133 extern int __POSIX_DEF__(chmod)(const char *path, mode_tmode);134 extern mode_t __POSIX_DEF__(umask)(mode_tmask);135 extern int mkdir(const char *, mode_t);133 extern int __POSIX_DEF__(chmod)(const char *path, __POSIX_DEF__(mode_t) mode); 134 extern __POSIX_DEF__(mode_t) __POSIX_DEF__(umask)(__POSIX_DEF__(mode_t) mask); 135 extern int __POSIX_DEF__(mkdir)(const char *path, __POSIX_DEF__(mode_t) mode); 136 136 137 137 -
uspace/lib/posix/include/posix/sys/types.h
r39f892a9 r368ee04 53 53 typedef int64_t __POSIX_DEF__(pid_t); 54 54 typedef sysarg_t __POSIX_DEF__(dev_t); 55 typedef unsigned int __POSIX_DEF__(mode_t); 55 56 56 57 /* PThread Types */
Note:
See TracChangeset
for help on using the changeset viewer.
