We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87eb498 commit 8cf319dCopy full SHA for 8cf319d
lib/std/os/bits/linux/x86_64.zig
@@ -512,18 +512,19 @@ pub const msghdr_const = extern struct {
512
513
pub const off_t = i64;
514
pub const ino_t = u64;
515
+pub const dev_t = u64;
516
517
// The `stat` definition used by the Linux kernel.
518
pub const kernel_stat = extern struct {
- dev: u64,
519
+ dev: dev_t,
520
ino: ino_t,
521
nlink: usize,
522
523
mode: u32,
524
uid: uid_t,
525
gid: gid_t,
526
__pad0: u32,
- rdev: u64,
527
+ rdev: dev_t,
528
size: off_t,
529
blksize: isize,
530
blocks: i64,
0 commit comments