Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for syscall_dup2 (0.09 sec)

  1. src/runtime/syscall_solaris.go

    //
    //go:nosplit
    //go:linkname syscall_close
    func syscall_close(fd int32) int32 {
    	return int32(sysvicall1(&libc_close, uintptr(fd)))
    }
    
    const _F_DUP2FD = 0x9
    
    //go:nosplit
    //go:linkname syscall_dup2
    func syscall_dup2(oldfd, newfd uintptr) (val, err uintptr) {
    	return syscall_fcntl(oldfd, _F_DUP2FD, newfd)
    }
    
    //go:nosplit
    //go:linkname syscall_execve
    //go:cgo_unsafe_args
    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