Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 125 for sys_chdir (0.17 sec)

  1. src/syscall/zsyscall_plan9_arm.go

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func chdir(path string) (err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    	r0, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
    	if int32(r0) == -1 {
    		err = e1
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  2. src/syscall/zsyscall_plan9_amd64.go

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func chdir(path string) (err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    	r0, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
    	if int32(r0) == -1 {
    		err = e1
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/plan9/zsyscall_plan9_arm.go

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func chdir(path string) (err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    	r0, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
    	if int32(r0) == -1 {
    		err = e1
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  4. src/runtime/sys_plan9_arm.s

    // license that can be found in the LICENSE file.
    
    #include "go_asm.h"
    #include "go_tls.h"
    #include "textflag.h"
    
    // from ../syscall/zsysnum_plan9.go
    
    #define SYS_SYSR1       0
    #define SYS_BIND        2
    #define SYS_CHDIR       3
    #define SYS_CLOSE       4
    #define SYS_DUP         5
    #define SYS_ALARM       6
    #define SYS_EXEC        7
    #define SYS_EXITS       8
    #define SYS_FAUTH       10
    #define SYS_SEGBRK      12
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 29 14:15:04 UTC 2021
    - 7K bytes
    - Viewed (0)
  5. src/syscall/exec_bsd.go

    			goto childerror
    		}
    		_, _, err1 = RawSyscall(SYS_SETUID, uintptr(cred.Uid), 0, 0)
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	// Chdir
    	if dir != nil {
    		_, _, err1 = RawSyscall(SYS_CHDIR, uintptr(unsafe.Pointer(dir)), 0, 0)
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	// Pass 1: look for fd[i] < i and move those up above len(fd)
    	// so that pass 2 won't stomp on an fd it needs later.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. src/syscall/exec_freebsd.go

    			goto childerror
    		}
    		_, _, err1 = RawSyscall(SYS_SETUID, uintptr(cred.Uid), 0, 0)
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	// Chdir
    	if dir != nil {
    		_, _, err1 = RawSyscall(SYS_CHDIR, uintptr(unsafe.Pointer(dir)), 0, 0)
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	// Parent death signal
    	if sys.Pdeathsig != 0 {
    		switch runtime.GOARCH {
    		case "386", "arm":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/plan9/zsyscall_plan9_386.go

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func chdir(path string) (err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    	r0, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
    	if int32(r0) == -1 {
    		err = e1
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  8. src/syscall/tables_js.go

    	sys_gettimeofday         = 40
    	sys_clock                = 41
    	sys_nanosleep            = 42
    	sys_clock_getres         = 43
    	sys_clock_gettime        = 44
    	sys_mkdir                = 45
    	sys_rmdir                = 46
    	sys_chdir                = 47
    	sys_getcwd               = 48
    	sys_unlink               = 49
    	sys_imc_makeboundsock    = 60
    	sys_imc_accept           = 61
    	sys_imc_connect          = 62
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 19.2K bytes
    - Viewed (0)
  9. src/syscall/zsysnum_freebsd_amd64.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); }
    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/zsysnum_freebsd_386.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); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
Back to top