Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for UtimesNano (0.64 sec)

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

    			return name == "__utimensat_a"
    		}
    	}
    	return false
    }
    
    // Begin UtimesNano
    
    //go:nosplit
    func get_UtimesNanoAddr() *(func(path string, ts []Timespec) (err error))
    
    var UtimesNano = enter_UtimesNano
    
    func enter_UtimesNano(path string, ts []Timespec) (err error) {
    	funcref := get_UtimesNanoAddr()
    	if validUtimensat() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  2. src/syscall/fs_wasip1.go

    	return ENOSYS
    }
    
    func Fchown(fd int, uid, gid int) error {
    	return ENOSYS
    }
    
    func Lchown(path string, uid, gid int) error {
    	return ENOSYS
    }
    
    func UtimesNano(path string, ts []Timespec) error {
    	// UTIME_OMIT value must match internal/syscall/unix/at_wasip1.go
    	const UTIME_OMIT = -0x2
    	if path == "" {
    		return EINVAL
    	}
    	dirFd, pathPtr, pathLen := preparePath(path)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_solaris.go

    	}
    	if len(tv) != 2 {
    		return EINVAL
    	}
    	return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
    }
    
    //sys	utimensat(fd int, path string, times *[2]Timespec, flag int) (err error)
    
    func UtimesNano(path string, ts []Timespec) error {
    	if ts == nil {
    		return utimensat(AT_FDCWD, path, nil, 0)
    	}
    	if len(ts) != 2 {
    		return EINVAL
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 31.1K bytes
    - Viewed (0)
  4. src/syscall/syscall_linux.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) (err error) {
    	if len(ts) != 2 {
    		return EINVAL
    	}
    	return utimensat(_AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  5. src/syscall/syscall_windows.go

    	if tv[0].Nanoseconds() != 0 {
    		w = NsecToFiletime(tv[1].Nanoseconds())
    	}
    	return SetFileTime(h, nil, &a, &w)
    }
    
    // This matches the value in os/file_windows.go.
    const _UTIME_OMIT = -1
    
    func UtimesNano(path string, ts []Timespec) (err error) {
    	if len(ts) != 2 {
    		return EINVAL
    	}
    	pathp, e := UTF16PtrFromString(path)
    	if e != nil {
    		return e
    	}
    	h, e := CreateFile(pathp,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    	if err != ENOSYS {
    		return err
    	}
    	return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
    }
    
    //sys	utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error)
    
    func UtimesNano(path string, ts []Timespec) error {
    	return UtimesNanoAt(AT_FDCWD, path, ts, 0)
    }
    
    func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error {
    	if ts == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    	if e != nil {
    		return e
    	}
    	defer CloseHandle(h)
    	a := NsecToFiletime(tv[0].Nanoseconds())
    	w := NsecToFiletime(tv[1].Nanoseconds())
    	return SetFileTime(h, nil, &a, &w)
    }
    
    func UtimesNano(path string, ts []Timespec) (err error) {
    	if len(ts) != 2 {
    		return syscall.EINVAL
    	}
    	pathp, e := UTF16PtrFromString(path)
    	if e != nil {
    		return e
    	}
    	h, e := CreateFile(pathp,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Ustat_t.Tinode", Field, 0},
    		{"Utimbuf", Type, 0},
    		{"Utimbuf.Actime", Field, 0},
    		{"Utimbuf.Modtime", Field, 0},
    		{"Utime", Func, 0},
    		{"Utimes", Func, 0},
    		{"UtimesNano", Func, 1},
    		{"Utsname", Type, 0},
    		{"Utsname.Domainname", Field, 0},
    		{"Utsname.Machine", Field, 0},
    		{"Utsname.Nodename", Field, 0},
    		{"Utsname.Release", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  9. api/go1.1.txt

    pkg syscall, func ByteSliceFromString(string) ([]uint8, error)
    pkg syscall, func NsecToTimespec(int64) Timespec
    pkg syscall, func TimespecToNsec(Timespec) int64
    pkg syscall, func UtimesNano(string, []Timespec) error
    pkg syscall, type RawSockaddrInet6 struct
    pkg syscall, type RawSockaddrInet6 struct, Addr [16]uint8
    pkg syscall, type RawSockaddrInet6 struct, Flowinfo uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top