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/syscall_aix_ppc.go | |
parent | d4f75fb6db22e57577867445a022227e70958931 (diff) | |
download | gitolfs3-8db41da676ac8368ef7c2549d56239a5ff5eedde.tar.gz gitolfs3-8db41da676ac8368ef7c2549d56239a5ff5eedde.zip |
Delete vendor directory
Diffstat (limited to 'vendor/golang.org/x/sys/unix/syscall_aix_ppc.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/syscall_aix_ppc.go | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/vendor/golang.org/x/sys/unix/syscall_aix_ppc.go b/vendor/golang.org/x/sys/unix/syscall_aix_ppc.go deleted file mode 100644 index 1fdaa47..0000000 --- a/vendor/golang.org/x/sys/unix/syscall_aix_ppc.go +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | // Copyright 2018 The Go Authors. All rights reserved. | ||
2 | // Use of this source code is governed by a BSD-style | ||
3 | // license that can be found in the LICENSE file. | ||
4 | |||
5 | //go:build aix && ppc | ||
6 | |||
7 | package unix | ||
8 | |||
9 | //sysnb Getrlimit(resource int, rlim *Rlimit) (err error) = getrlimit64 | ||
10 | //sys Seek(fd int, offset int64, whence int) (off int64, err error) = lseek64 | ||
11 | |||
12 | //sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) | ||
13 | |||
14 | func setTimespec(sec, nsec int64) Timespec { | ||
15 | return Timespec{Sec: int32(sec), Nsec: int32(nsec)} | ||
16 | } | ||
17 | |||
18 | func setTimeval(sec, usec int64) Timeval { | ||
19 | return Timeval{Sec: int32(sec), Usec: int32(usec)} | ||
20 | } | ||
21 | |||
22 | func (iov *Iovec) SetLen(length int) { | ||
23 | iov.Len = uint32(length) | ||
24 | } | ||
25 | |||
26 | func (msghdr *Msghdr) SetControllen(length int) { | ||
27 | msghdr.Controllen = uint32(length) | ||
28 | } | ||
29 | |||
30 | func (msghdr *Msghdr) SetIovlen(length int) { | ||
31 | msghdr.Iovlen = int32(length) | ||
32 | } | ||
33 | |||
34 | func (cmsg *Cmsghdr) SetLen(length int) { | ||
35 | cmsg.Len = uint32(length) | ||
36 | } | ||
37 | |||
38 | func Fstat(fd int, stat *Stat_t) error { | ||
39 | return fstat(fd, stat) | ||
40 | } | ||
41 | |||
42 | func Fstatat(dirfd int, path string, stat *Stat_t, flags int) error { | ||
43 | return fstatat(dirfd, path, stat, flags) | ||
44 | } | ||
45 | |||
46 | func Lstat(path string, stat *Stat_t) error { | ||
47 | return lstat(path, stat) | ||
48 | } | ||
49 | |||
50 | func Stat(path string, statptr *Stat_t) error { | ||
51 | return stat(path, statptr) | ||
52 | } | ||