| ... | ... | @@ -1178,3 +1178,17 @@ pub fn S_IWHT(m: u32) bool { |
| 1178 | 1178 | return m & S_IFMT == S_IFWHT; |
| 1179 | 1179 | } |
| 1180 | 1180 | pub const HOST_NAME_MAX = 72; |
| 1181 | |
| 1182 | pub const AT_FDCWD = -2; |
| 1183 | |
| 1184 | /// Use effective ids in access check |
| 1185 | pub const AT_EACCESS = 0x0010; |
| 1186 | |
| 1187 | /// Act on the symlink itself not the target |
| 1188 | pub const AT_SYMLINK_NOFOLLOW = 0x0020; |
| 1189 | |
| 1190 | /// Act on target of symlink |
| 1191 | pub const AT_SYMLINK_FOLLOW = 0x0040; |
| 1192 | |
| 1193 | /// Path refers to directory |
| 1194 | pub const AT_REMOVEDIR = 0x0080; |