c/syscall/unix

This commit is contained in:
xushiwei
2024-07-12 00:59:32 +08:00
parent 11682e487e
commit 68f70af2f3
12 changed files with 153 additions and 3 deletions

View File

@@ -0,0 +1,18 @@
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package unix
import "syscall"
const (
AT_REMOVEDIR = 0x800
AT_SYMLINK_NOFOLLOW = 0x200
UTIME_OMIT = -0x2
unlinkatTrap uintptr = syscall.SYS_UNLINKAT
openatTrap uintptr = syscall.SYS_OPENAT
posixFallocateTrap uintptr = syscall.SYS_POSIX_FALLOCATE
)