Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PathMax (0.08 sec)

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

    	return Utimes("/proc/self/fd/"+strconv.Itoa(fd), tv)
    }
    
    const ImplementsGetwd = true
    
    //sys	Getcwd(buf []byte) (n int, err error)
    
    func Getwd() (wd string, err error) {
    	var buf [PathMax]byte
    	n, err := Getcwd(buf[0:])
    	if err != nil {
    		return "", err
    	}
    	// Getcwd returns the number of bytes written to buf, including the NUL.
    	if n < 1 || n > len(buf) || buf[n-1] != 0 {
    		return "", EINVAL
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    	runtime.ExitSyscall()
    	n = clen(buf) + 1
    	if r0 == 0 {
    		err = errnoErr2(e1, e2)
    	}
    	return
    }
    
    func Getwd() (wd string, err error) {
    	var buf [PathMax]byte
    	n, err := Getcwd(buf[0:])
    	if err != nil {
    		return "", err
    	}
    	// Getcwd returns the number of bytes written to buf, including the NUL.
    	if n < 1 || n > len(buf) || buf[n-1] != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
Back to top