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