Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for Unlinkat (0.17 sec)

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

    	return fstatat(dirfd, path, stat, flags)
    }
    
    //go:linkname unlinkat syscall.unlinkat
    func unlinkat(dirfd int, path string, flags int) error
    
    //go:linkname openat syscall.openat
    func openat(dirfd int, path string, flags int, perm uint32) (int, error)
    
    //go:linkname fstatat syscall.fstatat
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 31 16:59:38 UTC 2022
    - 927 bytes
    - Viewed (0)
  2. src/os/removeall_at.go

    		if err != nil {
    			if IsNotExist(err) {
    				return nil
    			}
    			if err == syscall.ENOTDIR || err == unix.NoFollowErrno {
    				// Not a directory; return the error from the unix.Unlinkat.
    				return &PathError{Op: "unlinkat", Path: base, Err: uErr}
    			}
    			recurseErr = &PathError{Op: "openfdat", Path: base, Err: err}
    			break
    		}
    
    		for {
    			numErr := 0
    
    			names, readErr := file.Readdirnames(reqSize)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. src/internal/syscall/unix/at_solaris.go

    //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_darwin.go

    package syscall
    
    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)
  5. src/internal/syscall/unix/at_libc.go

    	"unsafe"
    )
    
    //go:linkname procFstatat libc_fstatat
    //go:linkname procOpenat libc_openat
    //go:linkname procUnlinkat libc_unlinkat
    
    var (
    	procFstatat,
    	procOpenat,
    	procUnlinkat uintptr
    )
    
    func Unlinkat(dirfd int, path string, 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 Oct 28 18:17:57 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  6. 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)
  7. src/internal/syscall/unix/at_aix.go

    // license that can be found in the LICENSE file.
    
    package unix
    
    //go:cgo_import_dynamic libc_fstatat fstatat "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_openat openat "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_unlinkat unlinkat "libc.a/shr_64.o"
    
    const (
    	AT_REMOVEDIR        = 0x1
    	AT_SYMLINK_NOFOLLOW = 0x1
    	UTIME_OMIT          = -0x3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 11 18:19:17 UTC 2023
    - 456 bytes
    - Viewed (0)
  8. src/internal/syscall/unix/at.go

    // license that can be found in the LICENSE file.
    
    //go:build dragonfly || freebsd || linux || netbsd || (openbsd && mips64)
    
    package unix
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    func Unlinkat(dirfd int, path string, flags int) error {
    	p, err := syscall.BytePtrFromString(path)
    	if err != nil {
    		return err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 19 15:51:18 UTC 2022
    - 917 bytes
    - Viewed (0)
  9. src/syscall/syscall_openbsd_libc.go

    //sysnb exit(res int) (err error)
    //sys   ptrace(request int, pid int, addr uintptr, data uintptr) (err error)
    //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)
  10. src/syscall/syscall_linux.go

    }
    
    func Rmdir(path string) error {
    	return unlinkat(_AT_FDCWD, path, _AT_REMOVEDIR)
    }
    
    //sys	symlinkat(oldpath string, newdirfd int, newpath string) (err error)
    
    func Symlink(oldpath string, newpath string) (err error) {
    	return symlinkat(oldpath, _AT_FDCWD, newpath)
    }
    
    func Unlink(path string) error {
    	return unlinkat(_AT_FDCWD, path, 0)
    }
    
    //sys	unlinkat(dirfd int, path string, flags int) (err error)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
Back to top