Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 467 for openat (0.37 sec)

  1. src/internal/syscall/unix/constants.go

    // license that can be found in the LICENSE file.
    
    //go:build unix
    
    package unix
    
    const (
    	R_OK = 0x4
    	W_OK = 0x2
    	X_OK = 0x1
    
    	// NoFollowErrno is the error returned from open/openat called with
    	// O_NOFOLLOW flag, when the trailing component (basename) of the path
    	// is a symbolic link.
    	NoFollowErrno = noFollowErrno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 434 bytes
    - Viewed (0)
  2. src/syscall/linkname_darwin.go

    import _ "unsafe"
    
    // used by os
    //go:linkname closedir
    //go:linkname readdir_r
    
    // used by internal/poll
    //go:linkname fdopendir
    
    // used by internal/syscall/unix
    //go:linkname unlinkat
    //go:linkname openat
    //go:linkname fstatat
    
    // used by cmd/link
    //go:linkname msync
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 468 bytes
    - Viewed (0)
  3. src/internal/syscall/unix/at_solaris.go

    func rawSyscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
    
    //go:cgo_import_dynamic libc_fstatat fstatat "libc.so"
    //go:cgo_import_dynamic libc_openat openat "libc.so"
    //go:cgo_import_dynamic libc_unlinkat unlinkat "libc.so"
    //go:cgo_import_dynamic libc_uname uname "libc.so"
    
    const (
    	AT_REMOVEDIR        = 0x1
    	AT_SYMLINK_NOFOLLOW = 0x1000
    
    	UTIME_OMIT = -0x2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:25 UTC 2024
    - 814 bytes
    - Viewed (0)
  4. src/syscall/linkname_openbsd.go

    // license that can be found in the LICENSE file.
    
    //go:build openbsd && !mips64
    
    package syscall
    
    import _ "unsafe"
    
    // used by internal/syscall/unix
    //go:linkname unlinkat
    //go:linkname openat
    //go:linkname fstatat
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 351 bytes
    - Viewed (0)
  5. src/internal/syscall/unix/nofollow_posix.go

    //   - android: see linux
    //   - darwin: https://github.com/apple/darwin-xnu/blob/main/bsd/man/man2/open.2
    //   - hurd: who knows if it works at all (https://www.gnu.org/software/hurd/open_issues/open_symlink.html)
    //   - illumos: https://illumos.org/man/2/open
    //   - ios: see darwin
    //   - linux: https://man7.org/linux/man-pages/man2/openat.2.html
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 933 bytes
    - Viewed (0)
  6. src/syscall/syscall_darwin.go

    	// fdopendir expects to take control of its argument.
    	// Just Dup'ing the file descriptor is not enough, as the
    	// result shares underlying state. Use openat to make a really
    	// new file descriptor referring to the same directory.
    	fd2, err := openat(fd, ".", O_RDONLY, 0)
    	if err != nil {
    		return 0, err
    	}
    	d, err := fdopendir(fd2)
    	if err != nil {
    		Close(fd2)
    		return 0, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. src/syscall/syscall_openbsd_libc.go

    //sysnb getentropy(p []byte) (err error)
    //sys   fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
    //sys   unlinkat(fd int, path string, flags int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. src/os/removeall_at.go

    // we are going to (try to) remove the file.
    // The contents of this file are not relevant for test caching.
    func openDirAt(dirfd int, name string) (*File, error) {
    	var r int
    	for {
    		var e error
    		r, e = unix.Openat(dirfd, name, O_RDONLY|syscall.O_CLOEXEC|syscall.O_DIRECTORY|syscall.O_NOFOLLOW, 0)
    		if e == nil {
    			break
    		}
    
    		// See comment in openFileNolog.
    		if e == syscall.EINTR {
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/syscall/syscall_linux.go

    	return Mknodat(_AT_FDCWD, path, mode, dev)
    }
    
    func Open(path string, mode int, perm uint32) (fd int, err error) {
    	return openat(_AT_FDCWD, path, mode|O_LARGEFILE, perm)
    }
    
    //sys	openat(dirfd int, path string, flags int, mode uint32) (fd int, err error)
    
    func Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
    	return openat(dirfd, path, flags|O_LARGEFILE, mode)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsymaddr_zos_s390x.s

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    TEXT ·get_openatAddr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·openat(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    TEXT ·get_openat2Addr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·openat2(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top