Changeset b08ef1fd in mainline for uspace/lib/posix/sys/stat.h
- Timestamp:
- 2011-06-16T02:57:47Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 491e1ee
- Parents:
- 4f4b4e7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/sys/stat.h
r4f4b4e7 rb08ef1fd 38 38 39 39 #include "../libc/sys/stat.h" 40 #include "time.h" 40 #include "types.h" 41 #include "../time.h" 41 42 42 43 /* values are the same as on Linux */ … … 108 109 #define S_ISSOCK(m) ((m & S_IFSOCK) != 0) /* socket? (Not in POSIX.1-1996.) */ 109 110 110 typedef devmap_handle_t posix_dev_t;111 typedef unsigned int posix_ino_t;112 typedef unsigned int posix_nlink_t;113 typedef unsigned int posix_uid_t;114 typedef unsigned int posix_gid_t;115 typedef aoff64_t posix_off_t;116 typedef unsigned int posix_blksize_t;117 typedef unsigned int posix_blkcnt_t;118 119 111 struct posix_stat { 120 112 struct stat sys_stat; … … 139 131 140 132 #ifndef LIBPOSIX_INTERNAL 141 #define dev_t posix_dev_t142 #define nlink_t posix_nlink_t143 #define uid_t posix_uid_t144 #define gid_t posix_gid_t145 #define off_t posix_off_t146 #define blksize_t posix_blksize_t147 #define blkcnt_t posix_blkcnt_t148 149 133 #define fstat posix_fstat 150 134 #define stat posix_stat
Note:
See TracChangeset
for help on using the changeset viewer.