mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-12 14:21:01 -04:00
13 lines
278 B
Go
13 lines
278 B
Go
![]() |
package sysx
|
||
|
|
||
|
import "syscall"
|
||
|
|
||
|
const (
|
||
|
// AtSymlinkNoFollow defined from AT_SYMLINK_NOFOLLOW in /usr/include/linux/fcntl.h
|
||
|
AtSymlinkNofollow = 0x100
|
||
|
)
|
||
|
|
||
|
func Fchmodat(dirfd int, path string, mode uint32, flags int) error {
|
||
|
return syscall.Fchmodat(dirfd, path, mode, flags)
|
||
|
}
|