...
1
2
3
4
5
6
7 package unix
8
9 import (
10 "syscall"
11 _ "unsafe"
12 )
13
14 func Unlinkat(dirfd int, path string, flags int) error {
15 return unlinkat(dirfd, path, flags)
16 }
17
18 func Openat(dirfd int, path string, flags int, perm uint32) (int, error) {
19 return openat(dirfd, path, flags, perm)
20 }
21
22 func Fstatat(dirfd int, path string, stat *syscall.Stat_t, flags int) error {
23 return fstatat(dirfd, path, stat, flags)
24 }
25
26
27 func unlinkat(dirfd int, path string, flags int) error
28
29
30 func openat(dirfd int, path string, flags int, perm uint32) (int, error)
31
32
33 func fstatat(dirfd int, path string, stat *syscall.Stat_t, flags int) error
34
View as plain text