- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for Faccessat (0.29 sec)
-
src/internal/syscall/unix/eaccess_darwin.go
package unix import ( "internal/abi" "syscall" "unsafe" ) func libc_faccessat_trampoline() //go:cgo_import_dynamic libc_faccessat faccessat "/usr/lib/libSystem.B.dylib" func faccessat(dirfd int, path string, mode uint32, flags int) error { p, err := syscall.BytePtrFromString(path) if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 15:02:38 UTC 2024 - 791 bytes - Viewed (0) -
src/internal/syscall/unix/eaccess_openbsd.go
//go:linkname syscall_syscall6 syscall.syscall6 func syscall_syscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) func libc_faccessat_trampoline() //go:cgo_import_dynamic libc_faccessat faccessat "libc.so" func faccessat(dirfd int, path string, mode uint32, flags int) error { p, err := syscall.BytePtrFromString(path) if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:36:52 UTC 2024 - 946 bytes - Viewed (0) -
src/syscall/syscall_linux_test.go
defer chtmpdir(t)() touch(t, "file1") err := syscall.Faccessat(_AT_FDCWD, "file1", _R_OK, 0) if err != nil { t.Errorf("Faccessat: unexpected error: %v", err) } err = syscall.Faccessat(_AT_FDCWD, "file1", _R_OK, 2) if err != syscall.EINVAL { t.Errorf("Faccessat: unexpected error: %v, want EINVAL", err) } err = syscall.Faccessat(_AT_FDCWD, "file1", _R_OK, _AT_EACCESS) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23K bytes - Viewed (0) -
src/internal/syscall/unix/eaccess_bsd.go
// license that can be found in the LICENSE file. //go:build dragonfly || freebsd || netbsd || (openbsd && mips64) package unix import ( "syscall" "unsafe" ) func faccessat(dirfd int, path string, mode uint32, flags int) error { p, err := syscall.BytePtrFromString(path) if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:36:52 UTC 2024 - 708 bytes - Viewed (0) -
src/syscall/syscall_linux.go
// The Linux kernel faccessat system call does not take any flags. // The glibc faccessat implements the flags itself; see // https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/faccessat.c;hb=HEAD // Because people naturally expect syscall.Faccessat to act // like C faccessat, we do the same. if flags & ^(_AT_SYMLINK_NOFOLLOW|_AT_EACCESS) != 0 { return EINVAL } var st Stat_t
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 35.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go
} // The Linux kernel faccessat system call does not take any flags. // The glibc faccessat implements the flags itself; see // https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/faccessat.c;hb=HEAD // Because people naturally expect syscall.Faccessat to act // like C faccessat, we do the same. if flags & ^(AT_SYMLINK_NOFOLLOW|AT_EACCESS) != 0 { return EINVAL } var st Stat_t
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 05:26:45 UTC 2024 - 77.5K bytes - Viewed (0) -
src/syscall/syscall_aix.go
} func (ts *StTimespec_t) Nano() int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) } /* * Wrapped */ func Access(path string, mode uint32) (err error) { return Faccessat(_AT_FDCWD, path, mode, 0) } // fcntl must never be called with cmd=F_DUP2FD because it doesn't work on AIX // There is no way to create a custom fcntl and to keep //sys fcntl easily,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:50:55 UTC 2024 - 17.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zsymaddr_zos_s390x.s
MOVD $·Eventfd(SB), R8 MOVD R8, ret+0(FP) RET // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT TEXT ·get_FaccessatAddr(SB), NOSPLIT|NOFRAME, $0-8 MOVD $·Faccessat(SB), R8 MOVD R8, ret+0(FP) RET // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT TEXT ·get_FchmodatAddr(SB), NOSPLIT|NOFRAME, $0-8 MOVD $·Fchmodat(SB), R8 MOVD R8, ret+0(FP) RET
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 8.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.go
//sys ExtattrListLink(link string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) //sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_POSIX_FADVISE //sys Faccessat(dirfd int, path string, mode uint32, flags int) (err error) //sys Fchdir(fd int) (err error) //sys Fchflags(fd int, flags int) (err error) //sys Fchmod(fd int, mode uint32) (err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 05:26:45 UTC 2024 - 15.6K bytes - Viewed (0) -
src/syscall/zsyscall_aix_ppc64.go
//go:cgo_import_dynamic libc_Chroot chroot "libc.a/shr_64.o" //go:cgo_import_dynamic libc_Close close "libc.a/shr_64.o" //go:cgo_import_dynamic libc_Dup dup "libc.a/shr_64.o" //go:cgo_import_dynamic libc_Faccessat faccessat "libc.a/shr_64.o" //go:cgo_import_dynamic libc_Fchdir fchdir "libc.a/shr_64.o" //go:cgo_import_dynamic libc_Fchmod fchmod "libc.a/shr_64.o" //go:cgo_import_dynamic libc_Fchmodat fchmodat "libc.a/shr_64.o"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:50:55 UTC 2024 - 41.7K bytes - Viewed (0)