Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for Getcwd (0.13 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/zsyscall_openbsd_arm64.go

    	}
    	return
    }
    
    var libc_getdents_trampoline_addr uintptr
    
    //go:cgo_import_dynamic libc_getdents getdents "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Getcwd(buf []byte) (n int, err error) {
    	var _p0 unsafe.Pointer
    	if len(buf) > 0 {
    		_p0 = unsafe.Pointer(&buf[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go

    	}
    	return
    }
    
    var libc_getdents_trampoline_addr uintptr
    
    //go:cgo_import_dynamic libc_getdents getdents "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Getcwd(buf []byte) (n int, err error) {
    	var _p0 unsafe.Pointer
    	if len(buf) > 0 {
    		_p0 = unsafe.Pointer(&buf[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go

    	}
    	return
    }
    
    var libc_getdents_trampoline_addr uintptr
    
    //go:cgo_import_dynamic libc_getdents getdents "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Getcwd(buf []byte) (n int, err error) {
    	var _p0 unsafe.Pointer
    	if len(buf) > 0 {
    		_p0 = unsafe.Pointer(&buf[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go

    	}
    	return
    }
    
    var libc_getdents_trampoline_addr uintptr
    
    //go:cgo_import_dynamic libc_getdents getdents "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Getcwd(buf []byte) (n int, err error) {
    	var _p0 unsafe.Pointer
    	if len(buf) > 0 {
    		_p0 = unsafe.Pointer(&buf[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  6. src/syscall/zsyscall_darwin_amd64.go

    	return
    }
    
    func libc_openat_trampoline()
    
    //go:cgo_import_dynamic libc_openat openat "/usr/lib/libSystem.B.dylib"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func getcwd(buf []byte) (n int, err error) {
    	var _p0 unsafe.Pointer
    	if len(buf) > 0 {
    		_p0 = unsafe.Pointer(&buf[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 21:34:30 UTC 2023
    - 51.7K bytes
    - Viewed (0)
  7. src/syscall/zsyscall_darwin_arm64.go

    	return
    }
    
    func libc_openat_trampoline()
    
    //go:cgo_import_dynamic libc_openat openat "/usr/lib/libSystem.B.dylib"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func getcwd(buf []byte) (n int, err error) {
    	var _p0 unsafe.Pointer
    	if len(buf) > 0 {
    		_p0 = unsafe.Pointer(&buf[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 21:34:30 UTC 2023
    - 51.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go

    	}
    	return
    }
    
    var libc_getdents_trampoline_addr uintptr
    
    //go:cgo_import_dynamic libc_getdents getdents "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Getcwd(buf []byte) (n int, err error) {
    	var _p0 unsafe.Pointer
    	if len(buf) > 0 {
    		_p0 = unsafe.Pointer(&buf[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go

    	}
    	return
    }
    
    var libc_getdents_trampoline_addr uintptr
    
    //go:cgo_import_dynamic libc_getdents getdents "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Getcwd(buf []byte) (n int, err error) {
    	var _p0 unsafe.Pointer
    	if len(buf) > 0 {
    		_p0 = unsafe.Pointer(&buf[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 57.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go

    	}
    	return
    }
    
    var libc_getdents_trampoline_addr uintptr
    
    //go:cgo_import_dynamic libc_getdents getdents "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Getcwd(buf []byte) (n int, err error) {
    	var _p0 unsafe.Pointer
    	if len(buf) > 0 {
    		_p0 = unsafe.Pointer(&buf[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 57.7K bytes
    - Viewed (0)
Back to top