Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for UtimesNano (0.17 sec)

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

    // license that can be found in the LICENSE file.
    
    package unix
    
    const (
    	// UTIME_OMIT is the sentinel value to indicate that a time value should not
    	// be changed. It is useful for example to indicate for example with UtimesNano
    	// to avoid changing AccessTime or ModifiedTime.
    	// Its value must match syscall/fs_wasip1.go
    	UTIME_OMIT = -0x2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 11 18:19:17 UTC 2023
    - 458 bytes
    - Viewed (0)
  2. src/internal/syscall/unix/at_js.go

    // license that can be found in the LICENSE file.
    
    package unix
    
    const (
    	// UTIME_OMIT is the sentinel value to indicate that a time value should not
    	// be changed. It is useful for example to indicate for example with UtimesNano
    	// to avoid changing AccessTime or ModifiedTime.
    	// Its value must match syscall/fs_js.go
    	UTIME_OMIT = -0x2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 11 18:19:17 UTC 2023
    - 454 bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/symaddr_zos_s390x.s

    	MOVD R8, ret+0(FP)
    	RET
    
    TEXT ·get_UtimesNanoAtAddr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·UtimesNanoAt(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    TEXT ·get_UtimesNanoAddr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·UtimesNano(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    TEXT ·get_MkfifoatAddr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·Mkfifoat(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    TEXT ·get_ChtagAddr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·Chtag(SB), R8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. src/os/file_posix.go

    		if t.IsZero() {
    			utimes[i] = syscall.Timespec{Sec: _UTIME_OMIT, Nsec: _UTIME_OMIT}
    		} else {
    			utimes[i] = syscall.NsecToTimespec(t.UnixNano())
    		}
    	}
    	set(0, atime)
    	set(1, mtime)
    	if e := syscall.UtimesNano(fixLongPath(name), utimes[0:]); e != nil {
    		return &PathError{Op: "chtimes", Path: name, Err: e}
    	}
    	return nil
    }
    
    // Chdir changes the current working directory to the file,
    // which must be a directory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top