aboutsummaryrefslogtreecommitdiff
path: root/sys/linux/arm/arch/types.h
blob: 536ca5ffffcacabdc0b87baa71b2630ee2679dd3 (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
34
35
36
#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;
    int _devpad;
    long _inotrunc;

    uint mode;
    uregister_t nlinks;
    uint uid;
    uint gid;
    uint64 spdevid;
    int _spdevpad;

    intptr len;
    long   blklen;
    int64  nblk;
    struct {
        long sec;
        long nano;
    } _access32, _modify32, _change32;
    uint64 inode;

    sys·TimeNano access;
    sys·TimeNano modify;
    sys·TimeNano change;
};
#endif