aboutsummaryrefslogtreecommitdiff
path: root/sys/linux/amd64/arch/types.h
blob: d22169cf65b566a7d8811db4a2b7a903519d2f86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#pragma once

#if 0
/*
 * copied from musl:
 * copied from kernel definition, but with padding replaced
 * by the corresponding correctly-sized userspace types.
 */

struct sys·Info
{
    uint64 devid;
    uint64 inode;
    uregister_t nlinks;

    uint  mode;
    uint  uid;
    uint  gid;

    uint  _pad;

    uint64 spdevid;
    intptr len;
    long   blklen;
    int64  nblk;

    sys·TimeNano access;
    sys·TimeNano modify;
    sys·TimeNano change;

    long _unused[3];
};
#endif