diff options
author | Rutger Broekhoff | 2024-01-02 18:56:31 +0100 |
---|---|---|
committer | Rutger Broekhoff | 2024-01-02 18:56:31 +0100 |
commit | 8db41da676ac8368ef7c2549d56239a5ff5eedde (patch) | |
tree | 09c427fd66de2ec1ebffc8342f5fdbb84b0701b5 /vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go | |
parent | d4f75fb6db22e57577867445a022227e70958931 (diff) | |
download | gitolfs3-8db41da676ac8368ef7c2549d56239a5ff5eedde.tar.gz gitolfs3-8db41da676ac8368ef7c2549d56239a5ff5eedde.zip |
Delete vendor directory
Diffstat (limited to 'vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go | 101 |
1 files changed, 0 insertions, 101 deletions
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go deleted file mode 100644 index c698cbc..0000000 --- a/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go +++ /dev/null | |||
@@ -1,101 +0,0 @@ | |||
1 | // go run mksyscall_solaris.go -illumos -tags illumos,amd64 syscall_illumos.go | ||
2 | // Code generated by the command above; see README.md. DO NOT EDIT. | ||
3 | |||
4 | //go:build illumos && amd64 | ||
5 | |||
6 | package unix | ||
7 | |||
8 | import ( | ||
9 | "unsafe" | ||
10 | ) | ||
11 | |||
12 | //go:cgo_import_dynamic libc_readv readv "libc.so" | ||
13 | //go:cgo_import_dynamic libc_preadv preadv "libc.so" | ||
14 | //go:cgo_import_dynamic libc_writev writev "libc.so" | ||
15 | //go:cgo_import_dynamic libc_pwritev pwritev "libc.so" | ||
16 | //go:cgo_import_dynamic libc_accept4 accept4 "libsocket.so" | ||
17 | |||
18 | //go:linkname procreadv libc_readv | ||
19 | //go:linkname procpreadv libc_preadv | ||
20 | //go:linkname procwritev libc_writev | ||
21 | //go:linkname procpwritev libc_pwritev | ||
22 | //go:linkname procaccept4 libc_accept4 | ||
23 | |||
24 | var ( | ||
25 | procreadv, | ||
26 | procpreadv, | ||
27 | procwritev, | ||
28 | procpwritev, | ||
29 | procaccept4 syscallFunc | ||
30 | ) | ||
31 | |||
32 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
33 | |||
34 | func readv(fd int, iovs []Iovec) (n int, err error) { | ||
35 | var _p0 *Iovec | ||
36 | if len(iovs) > 0 { | ||
37 | _p0 = &iovs[0] | ||
38 | } | ||
39 | r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procreadv)), 3, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(iovs)), 0, 0, 0) | ||
40 | n = int(r0) | ||
41 | if e1 != 0 { | ||
42 | err = errnoErr(e1) | ||
43 | } | ||
44 | return | ||
45 | } | ||
46 | |||
47 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
48 | |||
49 | func preadv(fd int, iovs []Iovec, off int64) (n int, err error) { | ||
50 | var _p0 *Iovec | ||
51 | if len(iovs) > 0 { | ||
52 | _p0 = &iovs[0] | ||
53 | } | ||
54 | r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procpreadv)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(iovs)), uintptr(off), 0, 0) | ||
55 | n = int(r0) | ||
56 | if e1 != 0 { | ||
57 | err = errnoErr(e1) | ||
58 | } | ||
59 | return | ||
60 | } | ||
61 | |||
62 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
63 | |||
64 | func writev(fd int, iovs []Iovec) (n int, err error) { | ||
65 | var _p0 *Iovec | ||
66 | if len(iovs) > 0 { | ||
67 | _p0 = &iovs[0] | ||
68 | } | ||
69 | r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procwritev)), 3, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(iovs)), 0, 0, 0) | ||
70 | n = int(r0) | ||
71 | if e1 != 0 { | ||
72 | err = errnoErr(e1) | ||
73 | } | ||
74 | return | ||
75 | } | ||
76 | |||
77 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
78 | |||
79 | func pwritev(fd int, iovs []Iovec, off int64) (n int, err error) { | ||
80 | var _p0 *Iovec | ||
81 | if len(iovs) > 0 { | ||
82 | _p0 = &iovs[0] | ||
83 | } | ||
84 | r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procpwritev)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(iovs)), uintptr(off), 0, 0) | ||
85 | n = int(r0) | ||
86 | if e1 != 0 { | ||
87 | err = errnoErr(e1) | ||
88 | } | ||
89 | return | ||
90 | } | ||
91 | |||
92 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
93 | |||
94 | func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) { | ||
95 | r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procaccept4)), 4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0) | ||
96 | fd = int(r0) | ||
97 | if e1 != 0 { | ||
98 | err = errnoErr(e1) | ||
99 | } | ||
100 | return | ||
101 | } | ||