Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 207 for chdir (0.04 sec)

  1. src/runtime/syscall_windows_test.go

    		t.Skip("skipping test: gcc is missing")
    	}
    
    	tmpdir := t.TempDir()
    
    	dir0, err := os.Getwd()
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.Chdir(dir0)
    
    	const src = `
    #include <stdint.h>
    #include <windows.h>
    
    uintptr_t cfunc(void) {
       SetLastError(123);
       return 0;
    }
    `
    	srcname := "nojack.c"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go

    int ioctl(int, int, uintptr_t);
    int fcntl(uintptr_t, int, uintptr_t);
    int fsync_range(int, int, long long, long long);
    int acct(uintptr_t);
    int chdir(uintptr_t);
    int chroot(uintptr_t);
    int close(int);
    int dup(int);
    void exit(int);
    int faccessat(int, uintptr_t, unsigned int, int);
    int fchdir(int);
    int fchmod(int, unsigned int);
    int fchmodat(int, uintptr_t, unsigned int, int);
    int fchownat(int, uintptr_t, int, int, int);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 30.9K bytes
    - Viewed (0)
  3. misc/wasm/wasm_exec.js

    			getgid() { return -1; },
    			geteuid() { return -1; },
    			getegid() { return -1; },
    			getgroups() { throw enosys(); },
    			pid: -1,
    			ppid: -1,
    			umask() { throw enosys(); },
    			cwd() { throw enosys(); },
    			chdir() { throw enosys(); },
    		}
    	}
    
    	if (!globalThis.crypto) {
    		throw new Error("globalThis.crypto is not available, polyfill required (crypto.getRandomValues only)");
    	}
    
    	if (!globalThis.performance) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 17:47:47 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  4. src/syscall/zsyscall_solaris_amd64.go

    //go:cgo_import_dynamic libc_Adjtime adjtime "libc.so"
    //go:cgo_import_dynamic libc_Chdir chdir "libc.so"
    //go:cgo_import_dynamic libc_Chmod chmod "libc.so"
    //go:cgo_import_dynamic libc_Chown chown "libc.so"
    //go:cgo_import_dynamic libc_Chroot chroot "libc.so"
    //go:cgo_import_dynamic libc_Close close "libc.so"
    //go:cgo_import_dynamic libc_Dup dup "libc.so"
    //go:cgo_import_dynamic libc_Fchdir fchdir "libc.so"
    //go:cgo_import_dynamic libc_Fchmod fchmod "libc.so"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 10 21:09:10 UTC 2023
    - 37.6K bytes
    - Viewed (0)
  5. src/syscall/exec_plan9.go

    				goto childerror
    			}
    
    			r1, _, _ = RawSyscall(SYS_CLOSE, uintptr(envfd), 0, 0)
    
    			if int32(r1) == -1 {
    				goto childerror
    			}
    		}
    	}
    
    	// Chdir
    	if dir != nil {
    		r1, _, _ = RawSyscall(SYS_CHDIR, uintptr(unsafe.Pointer(dir)), 0, 0)
    		if int32(r1) == -1 {
    			goto childerror
    		}
    	}
    
    	// Pass 1: look for fd[i] < i and move those up above len(fd)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_aix.go

    }
    
    /*
     * Direct access
     */
    
    //sys	Acct(path string) (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	Exit(code int)
    //sys	Faccessat(dirfd int, path string, mode uint32, flags int) (err error)
    //sys	Fchdir(fd int) (err error)
    //sys	Fchmod(fd int, mode uint32) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.go

    //sys	CapEnter() (err error)
    //sys	capRightsGet(version int, fd int, rightsp *CapRights) (err error) = SYS___CAP_RIGHTS_GET
    //sys	capRightsLimit(fd int, rightsp *CapRights) (err error)
    //sys	Chdir(path string) (err error)
    //sys	Chflags(path string, flags int) (err error)
    //sys	Chmod(path string, mode uint32) (err error)
    //sys	Chown(path string, uid int, gid int) (err error)
    //sys	Chroot(path string) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  8. src/syscall/syscall_solaris.go

    //sys	Adjtime(delta *Timeval, olddelta *Timeval) (err error)
    //sys	Chdir(path string) (err error)
    //sys	Chmod(path string, mode uint32) (err error)
    //sys	Chown(path string, uid int, gid int) (err error)
    //sys	Chroot(path string) (err error)
    //sys	Close(fd int) (err error)
    //sys	Dup(fd int) (nfd int, err error)
    //sys	Fchdir(fd int) (err error)
    //sys	Fchmod(fd int, mode uint32) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. src/syscall/zsysnum_freebsd_arm.go

    	SYS_LINK                     = 9   // { int link(char *path, char *link); }
    	SYS_UNLINK                   = 10  // { int unlink(char *path); }
    	SYS_CHDIR                    = 12  // { int chdir(char *path); }
    	SYS_FCHDIR                   = 13  // { int fchdir(int fd); }
    	SYS_MKNOD                    = 14  // { int mknod(char *path, int mode, int dev); }
    	SYS_CHMOD                    = 15  // { int chmod(char *path, int mode); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  10. src/syscall/zsyscall_openbsd_arm.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)
Back to top