mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-02 07:07:33 -04:00
unix: update FreeBSD generated types and errors
Update the generated types and errors for FreeBSD by running mkall.sh and ensuring no values where removed. Change-Id: I5b82b1896b64f1b33d569dcaa477bb88641dfa8d Reviewed-on: https://go-review.googlesource.com/15011 Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
committed by
Ian Lance Taylor
parent
72bfb9c4e8
commit
342d6a85aa
@@ -225,6 +225,20 @@ const (
|
|||||||
BRKINT = 0x2
|
BRKINT = 0x2
|
||||||
CFLUSH = 0xf
|
CFLUSH = 0xf
|
||||||
CLOCAL = 0x8000
|
CLOCAL = 0x8000
|
||||||
|
CLOCK_MONOTONIC = 0x4
|
||||||
|
CLOCK_MONOTONIC_FAST = 0xc
|
||||||
|
CLOCK_MONOTONIC_PRECISE = 0xb
|
||||||
|
CLOCK_PROCESS_CPUTIME_ID = 0xf
|
||||||
|
CLOCK_PROF = 0x2
|
||||||
|
CLOCK_REALTIME = 0x0
|
||||||
|
CLOCK_REALTIME_FAST = 0xa
|
||||||
|
CLOCK_REALTIME_PRECISE = 0x9
|
||||||
|
CLOCK_SECOND = 0xd
|
||||||
|
CLOCK_THREAD_CPUTIME_ID = 0xe
|
||||||
|
CLOCK_UPTIME = 0x5
|
||||||
|
CLOCK_UPTIME_FAST = 0x8
|
||||||
|
CLOCK_UPTIME_PRECISE = 0x7
|
||||||
|
CLOCK_VIRTUAL = 0x1
|
||||||
CREAD = 0x800
|
CREAD = 0x800
|
||||||
CS5 = 0x0
|
CS5 = 0x0
|
||||||
CS6 = 0x100
|
CS6 = 0x100
|
||||||
|
|||||||
@@ -225,6 +225,20 @@ const (
|
|||||||
BRKINT = 0x2
|
BRKINT = 0x2
|
||||||
CFLUSH = 0xf
|
CFLUSH = 0xf
|
||||||
CLOCAL = 0x8000
|
CLOCAL = 0x8000
|
||||||
|
CLOCK_MONOTONIC = 0x4
|
||||||
|
CLOCK_MONOTONIC_FAST = 0xc
|
||||||
|
CLOCK_MONOTONIC_PRECISE = 0xb
|
||||||
|
CLOCK_PROCESS_CPUTIME_ID = 0xf
|
||||||
|
CLOCK_PROF = 0x2
|
||||||
|
CLOCK_REALTIME = 0x0
|
||||||
|
CLOCK_REALTIME_FAST = 0xa
|
||||||
|
CLOCK_REALTIME_PRECISE = 0x9
|
||||||
|
CLOCK_SECOND = 0xd
|
||||||
|
CLOCK_THREAD_CPUTIME_ID = 0xe
|
||||||
|
CLOCK_UPTIME = 0x5
|
||||||
|
CLOCK_UPTIME_FAST = 0x8
|
||||||
|
CLOCK_UPTIME_PRECISE = 0x7
|
||||||
|
CLOCK_VIRTUAL = 0x1
|
||||||
CREAD = 0x800
|
CREAD = 0x800
|
||||||
CS5 = 0x0
|
CS5 = 0x0
|
||||||
CS6 = 0x100
|
CS6 = 0x100
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
|
// +build 386,freebsd
|
||||||
// Created by cgo -godefs - DO NOT EDIT
|
// Created by cgo -godefs - DO NOT EDIT
|
||||||
// cgo -godefs types_freebsd.go
|
// cgo -godefs types_freebsd.go
|
||||||
|
|
||||||
// +build 386,freebsd
|
|
||||||
|
|
||||||
package unix
|
package unix
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@@ -140,6 +139,15 @@ type Fsid struct {
|
|||||||
Val [2]int32
|
Val [2]int32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const (
|
||||||
|
FADV_NORMAL = 0x0
|
||||||
|
FADV_RANDOM = 0x1
|
||||||
|
FADV_SEQUENTIAL = 0x2
|
||||||
|
FADV_WILLNEED = 0x3
|
||||||
|
FADV_DONTNEED = 0x4
|
||||||
|
FADV_NOREUSE = 0x5
|
||||||
|
)
|
||||||
|
|
||||||
type RawSockaddrInet4 struct {
|
type RawSockaddrInet4 struct {
|
||||||
Len uint8
|
Len uint8
|
||||||
Family uint8
|
Family uint8
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
|
// +build amd64,freebsd
|
||||||
// Created by cgo -godefs - DO NOT EDIT
|
// Created by cgo -godefs - DO NOT EDIT
|
||||||
// cgo -godefs types_freebsd.go
|
// cgo -godefs types_freebsd.go
|
||||||
|
|
||||||
// +build amd64,freebsd
|
|
||||||
|
|
||||||
package unix
|
package unix
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@@ -140,6 +139,15 @@ type Fsid struct {
|
|||||||
Val [2]int32
|
Val [2]int32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const (
|
||||||
|
FADV_NORMAL = 0x0
|
||||||
|
FADV_RANDOM = 0x1
|
||||||
|
FADV_SEQUENTIAL = 0x2
|
||||||
|
FADV_WILLNEED = 0x3
|
||||||
|
FADV_DONTNEED = 0x4
|
||||||
|
FADV_NOREUSE = 0x5
|
||||||
|
)
|
||||||
|
|
||||||
type RawSockaddrInet4 struct {
|
type RawSockaddrInet4 struct {
|
||||||
Len uint8
|
Len uint8
|
||||||
Family uint8
|
Family uint8
|
||||||
|
|||||||
Reference in New Issue
Block a user