Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for utimensat (0.16 sec)

  1. src/syscall/syscall_darwin.go

    //go:cgo_import_dynamic libc_getfsstat getfsstat "/usr/lib/libSystem.B.dylib"
    
    // utimensat should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/tetratelabs/wazero
    //
    // See go.dev/issue/67401.
    //
    //go:linkname utimensat
    
    //sys	utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error)
    
    /*
     * Wrapped
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/syscall/syscall_solaris.go

    	name, e1 := gethostname()
    	if e1 != 0 {
    		err = Errno(e1)
    	}
    	return name, err
    }
    
    func UtimesNano(path string, ts []Timespec) error {
    	if len(ts) != 2 {
    		return EINVAL
    	}
    	return utimensat(_AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
    }
    
    //sys	fcntl(fd int, cmd int, arg int) (val int, err error)
    
    // FcntlFlock performs a fcntl syscall for the [F_GETLK], [F_SETLK] or [F_SETLKW] command.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. src/syscall/syscall_aix.go

    	if len(tv) != 2 {
    		return EINVAL
    	}
    	return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
    }
    
    //sys	utimensat(dirfd int, path string, times *[2]Timespec, flag int) (err error)
    
    func UtimesNano(path string, ts []Timespec) error {
    	if len(ts) != 2 {
    		return EINVAL
    	}
    	return utimensat(_AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
    }
    
    //sys	unlinkat(dirfd int, path string, flags int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zsymaddr_zos_s390x.s

    	MOVD $·openat2(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    TEXT ·get_utimensatAddr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·utimensat(SB), R8
    	MOVD R8, ret+0(FP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    	return utimensat(dirfd, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), flags)
    }
    
    func Futimesat(dirfd int, path string, tv []Timeval) error {
    	if tv == nil {
    		return futimesat(dirfd, path, nil)
    	}
    	if len(tv) != 2 {
    		return EINVAL
    	}
    	return futimesat(dirfd, path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
    }
    
    func Futimes(fd int, tv []Timeval) (err error) {
    	// Believe it or not, this is the best we can do on Linux
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    	}
    	return (*funcref)(path, ts)
    }
    
    func utimesNanoImpl(path string, ts []Timespec) (err error) {
    	if ts == nil {
    		return utimensat(AT_FDCWD, path, nil, 0)
    	}
    	if len(ts) != 2 {
    		return EINVAL
    	}
    	return utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
    }
    
    func legacyUtimesNano(path string, ts []Timespec) (err error) {
    	if len(ts) != 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  7. src/syscall/syscall_linux.go

    	}
    	return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
    }
    
    //sys	utimensat(dirfd int, path string, times *[2]Timespec, flag int) (err error)
    
    func UtimesNano(path string, ts []Timespec) (err error) {
    	if len(ts) != 2 {
    		return EINVAL
    	}
    	return utimensat(_AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
    }
    
    func Futimesat(dirfd int, path string, tv []Timeval) (err error) {
    	if len(tv) != 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.go

    //sys	munmap(addr uintptr, length uintptr) (err error)
    //sys	accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, 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)
  9. src/syscall/zsyscall_openbsd_arm.go

    	}
    	return
    }
    
    func libc_getfsstat_trampoline()
    
    //go:cgo_import_dynamic libc_getfsstat getfsstat "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func utimensat(dirfd int, path string, times *[2]Timespec, flag int) (err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  10. src/syscall/zsyscall_aix_ppc64.go

    //go:cgo_import_dynamic libc_pipe pipe "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_readlink readlink "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_utimes utimes "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_utimensat utimensat "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_unlinkat unlinkat "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_getcwd getcwd "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_getgroups getgroups "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)
Back to top