Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getcwd (0.91 sec)

  1. misc/wasm/wasm_exec.js

    			unlink(path, callback) { callback(enosys()); },
    			utimes(path, atime, mtime, callback) { callback(enosys()); },
    		};
    	}
    
    	if (!globalThis.process) {
    		globalThis.process = {
    			getuid() { return -1; },
    			getgid() { return -1; },
    			geteuid() { return -1; },
    			getegid() { return -1; },
    			getgroups() { throw enosys(); },
    			pid: -1,
    			ppid: -1,
    			umask() { throw enosys(); },
    			cwd() { throw enosys(); },
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  2. api/go1.14.txt

    pkg syscall (freebsd-arm64), const F_GETFD = 1
    pkg syscall (freebsd-arm64), const F_GETFD ideal-int
    pkg syscall (freebsd-arm64), const F_GETFL = 3
    pkg syscall (freebsd-arm64), const F_GETFL ideal-int
    pkg syscall (freebsd-arm64), const F_GETLK = 11
    pkg syscall (freebsd-arm64), const F_GETLK ideal-int
    pkg syscall (freebsd-arm64), const F_GETOWN = 5
    pkg syscall (freebsd-arm64), const F_GETOWN ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  3. api/go1.20.txt

    pkg syscall (freebsd-riscv64), const SYS___CAP_RIGHTS_GET = 515 #53466
    pkg syscall (freebsd-riscv64), const SYS___CAP_RIGHTS_GET ideal-int #53466
    pkg syscall (freebsd-riscv64), const SYS___GETCWD = 326 #53466
    pkg syscall (freebsd-riscv64), const SYS___GETCWD ideal-int #53466
    pkg syscall (freebsd-riscv64), const SYS___MAC_EXECVE = 415 #53466
    pkg syscall (freebsd-riscv64), const SYS___MAC_EXECVE ideal-int #53466
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue1435.go

    // }
    import "C"
    
    // compareStatus is used to confirm the contents of the thread
    // specific status files match expectations.
    func compareStatus(filter, expect string) error {
    	expected := filter + expect
    	pid := syscall.Getpid()
    	fs, err := os.ReadDir(fmt.Sprintf("/proc/%d/task", pid))
    	if err != nil {
    		return fmt.Errorf("unable to find %d tasks: %v", pid, err)
    	}
    	expectedProc := fmt.Sprintf("Pid:\t%d", pid)
    	foundAThread := false
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  5. api/go1.16.txt

    pkg syscall (darwin-arm64-cgo), const SYS_GETTID = 286
    pkg syscall (darwin-arm64-cgo), const SYS_GETTID ideal-int
    pkg syscall (darwin-arm64-cgo), const SYS_GETTIMEOFDAY = 116
    pkg syscall (darwin-arm64-cgo), const SYS_GETTIMEOFDAY ideal-int
    pkg syscall (darwin-arm64-cgo), const SYS_GETUID = 24
    pkg syscall (darwin-arm64-cgo), const SYS_GETUID ideal-int
    pkg syscall (darwin-arm64-cgo), const SYS_GETWGROUPS = 290
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  6. api/go1.1.txt

    pkg syscall (linux-386), const SYS_GETRUSAGE = 77
    pkg syscall (linux-386), const SYS_GETSID = 147
    pkg syscall (linux-386), const SYS_GETTID = 224
    pkg syscall (linux-386), const SYS_GETTIMEOFDAY = 78
    pkg syscall (linux-386), const SYS_GETUID = 24
    pkg syscall (linux-386), const SYS_GETUID32 = 199
    pkg syscall (linux-386), const SYS_GETXATTR = 229
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (1)
  7. misc/ios/go_ios_exec.go

    	out, err := exec.Command("cp", "-a", src, dst).CombinedOutput()
    	if err != nil {
    		os.Stderr.Write(out)
    	}
    	return err
    }
    
    func copyLocalData(dstbase string) (pkgpath string, err error) {
    	cwd, err := os.Getwd()
    	if err != nil {
    		return "", err
    	}
    
    	finalPkgpath, underGoRoot, err := subdir()
    	if err != nil {
    		return "", err
    	}
    	cwd = strings.TrimSuffix(cwd, finalPkgpath)
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  8. misc/go_android_exec/main.go

    	// Binary names can conflict.
    	// E.g. template.test from the {html,text}/template packages.
    	binName := filepath.Base(os.Args[1])
    	deviceGotmp := fmt.Sprintf(deviceRoot+"/%s-%d", binName, os.Getpid())
    	deviceGopath := deviceGotmp + "/gopath"
    	defer adb("exec-out", "rm", "-rf", deviceGotmp) // Clean up.
    
    	// Determine the package by examining the current working
    	// directory, which will look something like
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
Back to top