Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 137 for futimens (0.11 sec)

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

    	err = Gettimeofday(&tv)
    	if err != nil {
    		return 0, err
    	}
    	if t != nil {
    		*t = Time_t(tv.Sec)
    	}
    	return Time_t(tv.Sec), nil
    }
    
    //sys	Utime(path string, buf *Utimbuf) (err error)
    //sys	utimes(path string, times *[2]Timeval) (err error)
    
    func setTimespec(sec, nsec int64) Timespec {
    	return Timespec{Sec: sec, Nsec: nsec}
    }
    
    func setTimeval(sec, usec int64) Timeval {
    	return Timeval{Sec: sec, Usec: usec}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go

    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    var libc_utimes_trampoline_addr uintptr
    
    //go:cgo_import_dynamic libc_utimes utimes "/usr/lib/libSystem.B.dylib"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func futimes(fd int, timeval *[2]Timeval) (err error) {
    	_, _, e1 := syscall_syscall(libc_futimes_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
    	if e1 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 66.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    	}
    	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
    	// (and is what glibc does).
    	return Utimes("/proc/self/fd/"+strconv.Itoa(fd), tv)
    }
    
    const ImplementsGetwd = true
    
    //sys	Getcwd(buf []byte) (n int, err error)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  4. src/syscall/zsyscall_freebsd_riscv64.go

    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func futimes(fd int, timeval *[2]Timeval) (err error) {
    	_, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 10:34:48 UTC 2023
    - 31.1K bytes
    - Viewed (0)
  5. src/syscall/zsyscall_freebsd_arm.go

    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func futimes(fd int, timeval *[2]Timeval) (err error) {
    	_, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 10:34:48 UTC 2023
    - 31.2K bytes
    - Viewed (0)
  6. src/syscall/syscall_linux_s390x.go

    	err = Gettimeofday(&tv)
    	if err != nil {
    		return 0, err
    	}
    	if t != nil {
    		*t = Time_t(tv.Sec)
    	}
    	return Time_t(tv.Sec), nil
    }
    
    //sys	Utime(path string, buf *Utimbuf) (err error)
    //sys	utimes(path string, times *[2]Timeval) (err error)
    
    func setTimespec(sec, nsec int64) Timespec {
    	return Timespec{Sec: sec, Nsec: nsec}
    }
    
    func setTimeval(sec, usec int64) Timeval {
    	return Timeval{Sec: sec, Usec: usec}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. src/syscall/zsyscall_freebsd_amd64.go

    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func futimes(fd int, timeval *[2]Timeval) (err error) {
    	_, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 10:34:48 UTC 2023
    - 31.1K bytes
    - Viewed (0)
  8. src/syscall/zsyscall_freebsd_arm64.go

    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func futimes(fd int, timeval *[2]Timeval) (err error) {
    	_, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 10:34:48 UTC 2023
    - 31.1K bytes
    - Viewed (0)
  9. src/syscall/syscall_linux_386.go

    //sys	futimesat(dirfd int, path string, times *[2]Timeval) (err error)
    //sysnb	Gettimeofday(tv *Timeval) (err error)
    //sysnb	Time(t *Time_t) (tt Time_t, err error)
    //sys	Utime(path string, buf *Utimbuf) (err error)
    //sys	utimes(path string, times *[2]Timeval) (err error)
    
    // On x86 Linux, all the socket calls go through an extra indirection,
    // I think because the 5-register system call interface can't handle
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  10. src/syscall/zsyscall_freebsd_386.go

    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func futimes(fd int, timeval *[2]Timeval) (err error) {
    	_, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 10:34:48 UTC 2023
    - 31.2K bytes
    - Viewed (0)
Back to top