Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 137 for utimensat (0.14 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_openbsd.go

    //sys	munmap(addr uintptr, length uintptr) (err error)
    //sys	getfsstat(stat *Statfs_t, bufsize uintptr, flags int) (n int, err error)
    //sys	utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error)
    //sys	pledge(promises *byte, execpromises *byte) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 11K bytes
    - Viewed (0)
  2. src/syscall/syscall_bsd.go

    		return EINVAL
    	}
    	return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
    }
    
    func UtimesNano(path string, ts []Timespec) error {
    	if len(ts) != 2 {
    		return EINVAL
    	}
    	err := utimensat(_AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
    	if err != ENOSYS {
    		return err
    	}
    	// Not as efficient as it could be because Timespec and
    	// Timeval have different types in the different OSes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 10:34:48 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  3. src/syscall/zsysnum_freebsd_386.go

    	SYS_PIPE2                    = 542 // { int pipe2(int *fildes, int flags); }
    	SYS_PROCCTL                  = 544 // { int procctl(idtype_t idtype, id_t id, \
    	SYS_UTIMENSAT                = 547 // { int utimensat(int fd, \
    	SYS_FSTAT                    = 551 // { int fstat(int fd, _Out_ struct stat *sb); }
    	SYS_FSTATAT                  = 552 // { int fstatat(int fd, _In_z_ char *path, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  4. src/syscall/zsysnum_freebsd_amd64.go

    	SYS_PIPE2                    = 542 // { int pipe2(int *fildes, int flags); }
    	SYS_PROCCTL                  = 544 // { int procctl(idtype_t idtype, id_t id, \
    	SYS_UTIMENSAT                = 547 // { int utimensat(int fd, \
    	SYS_FSTAT                    = 551 // { int fstat(int fd, _Out_ struct stat *sb); }
    	SYS_FSTATAT                  = 552 // { int fstatat(int fd, _In_z_ char *path, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go

    	if r0 == -1 && er != nil {
    		err = er
    	}
    	return
    }
    
    // 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) {
    	_p0 := uintptr(unsafe.Pointer(C.CString(path)))
    	r0, er := C.utimensat(C.int(dirfd), C.uintptr_t(_p0), C.uintptr_t(uintptr(unsafe.Pointer(times))), C.int(flag))
    	if r0 == -1 && er != nil {
    		err = er
    	}
    	return
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 35.7K 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/zsysnum_freebsd_arm.go

    	SYS_PIPE2                    = 542 // { int pipe2(int *fildes, int flags); }
    	SYS_PROCCTL                  = 544 // { int procctl(idtype_t idtype, id_t id, \
    	SYS_UTIMENSAT                = 547 // { int utimensat(int fd, \
    	SYS_FSTAT                    = 551 // { int fstat(int fd, _Out_ struct stat *sb); }
    	SYS_FSTATAT                  = 552 // { int fstatat(int fd, _In_z_ char *path, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go

    // Code generated by the command above; see README.md. DO NOT EDIT.
    
    //go:build aix && ppc64 && gccgo
    
    package unix
    
    /*
    #include <stdint.h>
    int utimes(uintptr_t, uintptr_t);
    int utimensat(int, uintptr_t, uintptr_t, int);
    int getcwd(uintptr_t, size_t);
    int accept(int, uintptr_t, uintptr_t);
    int getdirent(int, uintptr_t, size_t);
    int wait4(int, uintptr_t, int, uintptr_t);
    int ioctl(int, int, uintptr_t);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 30.9K bytes
    - Viewed (0)
  9. 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)
  10. src/syscall/zsyscall_solaris_amd64.go

    //go:cgo_import_dynamic libc_recvfrom recvfrom "libsocket.so"
    //go:cgo_import_dynamic libc___xnet_recvmsg __xnet_recvmsg "libsocket.so"
    //go:cgo_import_dynamic libc_getexecname getexecname "libc.so"
    //go:cgo_import_dynamic libc_utimensat utimensat "libc.so"
    
    //go:linkname libc_pipe2 libc_pipe2
    //go:linkname libc_accept4 libc_accept4
    //go:linkname libc_Getcwd libc_Getcwd
    //go:linkname libc_getgroups libc_getgroups
    //go:linkname libc_setgroups libc_setgroups
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 10 21:09:10 UTC 2023
    - 37.6K bytes
    - Viewed (0)
Back to top