aboutsummaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go')
-rw-r--r--vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go32
1 files changed, 32 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go b/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go
index 399f37a..428c450 100644
--- a/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go
+++ b/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go
@@ -83,6 +83,33 @@ type Stat_t struct {
83 83
84type Statfs_t [0]byte 84type Statfs_t [0]byte
85 85
86type Statvfs_t struct {
87 Flag uint32
88 Bsize uint32
89 Frsize uint32
90 Iosize uint32
91 Blocks uint64
92 Bfree uint64
93 Bavail uint64
94 Bresvd uint64
95 Files uint64
96 Ffree uint64
97 Favail uint64
98 Fresvd uint64
99 Syncreads uint64
100 Syncwrites uint64
101 Asyncreads uint64
102 Asyncwrites uint64
103 Fsidx Fsid
104 Fsid uint32
105 Namemax uint32
106 Owner uint32
107 Spare [4]uint32
108 Fstypename [32]byte
109 Mntonname [1024]byte
110 Mntfromname [1024]byte
111}
112
86type Flock_t struct { 113type Flock_t struct {
87 Start int64 114 Start int64
88 Len int64 115 Len int64
@@ -109,6 +136,11 @@ const (
109) 136)
110 137
111const ( 138const (
139 ST_WAIT = 0x1
140 ST_NOWAIT = 0x2
141)
142
143const (
112 FADV_NORMAL = 0x0 144 FADV_NORMAL = 0x0
113 FADV_RANDOM = 0x1 145 FADV_RANDOM = 0x1
114 FADV_SEQUENTIAL = 0x2 146 FADV_SEQUENTIAL = 0x2