Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for chdir (0.08 sec)

  1. src/syscall/zsyscall_openbsd_amd64.go

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Fchdir(fd int) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_fchdir_trampoline), uintptr(fd), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_fchdir_trampoline()
    
    //go:cgo_import_dynamic libc_fchdir fchdir "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  2. src/syscall/zsyscall_openbsd_arm64.go

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Fchdir(fd int) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_fchdir_trampoline), uintptr(fd), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_fchdir_trampoline()
    
    //go:cgo_import_dynamic libc_fchdir fchdir "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  3. src/syscall/zsyscall_openbsd_ppc64.go

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Fchdir(fd int) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_fchdir_trampoline), uintptr(fd), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_fchdir_trampoline()
    
    //go:cgo_import_dynamic libc_fchdir fchdir "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  4. src/syscall/zsyscall_openbsd_riscv64.go

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Fchdir(fd int) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_fchdir_trampoline), uintptr(fd), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_fchdir_trampoline()
    
    //go:cgo_import_dynamic libc_fchdir fchdir "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  5. src/syscall/zsyscall_openbsd_386.go

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Fchdir(fd int) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_fchdir_trampoline), uintptr(fd), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_fchdir_trampoline()
    
    //go:cgo_import_dynamic libc_fchdir fchdir "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  6. src/syscall/fs_wasip1.go

    	errno := fd_filestat_set_size(int32(fd), filesize(length))
    	return errnoErr(errno)
    }
    
    const ImplementsGetwd = true
    
    func Getwd() (string, error) {
    	return cwd, nil
    }
    
    func Chdir(path string) error {
    	if path == "" {
    		return EINVAL
    	}
    
    	dir := "/"
    	if !isAbs(path) {
    		dir = cwd
    	}
    	path = joinPath(dir, path)
    
    	var stat Stat_t
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  7. pkg/istio-agent/agent_test.go

    	// https://github.com/golang/go/issues/43547
    	leak.Check(t)
    	// We run in the temp dir to ensure that when we are writing to the hardcoded ./etc/certs we
    	// don't collide with other tests
    	if err := os.Chdir(wd); err != nil {
    		t.Fatal(err)
    	}
    	certDir := filepath.Join(env.IstioSrc, "./tests/testdata/certs/pilot")
    	fakeSpiffeID := "spiffe://cluster.local/ns/fake-namespace/sa/fake-sa"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  8. src/syscall/syscall_linux.go

    }
    
    // Sendto
    // Recvfrom
    // Socketpair
    
    /*
     * Direct access
     */
    //sys	Acct(path string) (err error)
    //sys	Adjtimex(buf *Timex) (state int, err error)
    //sys	Chdir(path string) (err error)
    //sys	Chroot(path string) (err error)
    //sys	Close(fd int) (err error)
    //sys	Dup(oldfd int) (fd int, err error)
    //sys	Dup3(oldfd int, newfd int, flags int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  9. src/cmd/go/go_test.go

    	}
    	tg := testgo(t)
    	defer tg.cleanup()
    
    	wd, err := os.Getwd()
    	tg.check(err)
    	tg.makeTempdir()
    	tg.check(os.Chdir(tg.tempdir))
    	defer func() { tg.check(os.Chdir(wd)) }()
    
    	tg.check(os.Remove(tg.tempdir))
    
    	// `go version` should not fail
    	tg.run("version")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  10. src/cmd/go/internal/test/test.go

    			}
    			return cache.ActionID{}, errBadTestInputs
    		case "getenv":
    			fmt.Fprintf(h, "env %s %x\n", name, hashGetenv(name))
    		case "chdir":
    			pwd = name // always absolute
    			fmt.Fprintf(h, "chdir %s %x\n", name, hashStat(name))
    		case "stat":
    			if !filepath.IsAbs(name) {
    				name = filepath.Join(pwd, name)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top