| ... | @@ -364,3 +364,18 @@ pub const RTLD = struct { | ... | @@ -364,3 +364,18 @@ pub const RTLD = struct { |
| 364 | pub const GLOBAL = 256; | 364 | pub const GLOBAL = 256; |
| 365 | pub const LOCAL = 0; | 365 | pub const LOCAL = 0; |
| 366 | }; | 366 | }; |
| | 367 | |
| | 368 | pub const dirent = struct { |
| | 369 | d_ino: c_uint, |
| | 370 | d_off: c_uint, |
| | 371 | d_reclen: c_ushort, |
| | 372 | d_type: u8, |
| | 373 | d_name: [256]u8, |
| | 374 | }; |
| | 375 | pub const dirent64 = struct { |
| | 376 | d_ino: c_ulong, |
| | 377 | d_off: c_ulong, |
| | 378 | d_reclen: c_ushort, |
| | 379 | d_type: u8, |
| | 380 | d_name: [256]u8, |
| | 381 | }; |