| author | |
| committer | |
| log | 552ef5f2e4ecc4b788476be6836d262aaf3216d3 |
| tree | bd7d658cee3db539c4aefa927818c1708c698429 |
| parent | ad7f725dbacb8144bdff7f0ce3bcfaf47725a4bc |
1 files changed, 15 insertions(+), 0 deletions(-)
lib/std/c/linux.zig+15| ... | ... | @@ -364,3 +364,18 @@ pub const RTLD = struct { |
| 364 | 364 | pub const GLOBAL = 256; |
| 365 | 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 | }; |