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