Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for syscall_chdir (0.36 sec)

  1. src/runtime/syscall_aix.go

    		n:    nargs,
    		args: uintptr(unsafe.Pointer(&a1)),
    	}
    
    	asmcgocall(unsafe.Pointer(&asmsyscall6), unsafe.Pointer(&c))
    
    	return c.r1, 0, c.err
    }
    
    //go:linkname syscall_chdir syscall.chdir
    //go:nosplit
    func syscall_chdir(path uintptr) (err uintptr) {
    	_, err = syscall1(&libc_chdir, path)
    	return
    }
    
    //go:linkname syscall_chroot1 syscall.chroot1
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  2. src/runtime/syscall_solaris.go

    // TODO(aram): Once we remove all instances of C calling sysvicallN, make
    // sysvicallN return errors and replace the body of the following functions
    // with calls to sysvicallN.
    
    //go:nosplit
    //go:linkname syscall_chdir
    func syscall_chdir(path uintptr) (err uintptr) {
    	call := libcall{
    		fn:   uintptr(unsafe.Pointer(&libc_chdir)),
    		n:    1,
    		args: uintptr(unsafe.Pointer(&path)),
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 8.4K bytes
    - Viewed (0)
Back to top