Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for nosys (0.04 sec)

  1. src/syscall/syscall_openbsd_libc.go

    		return syscall6X(abi.FuncPCABI0(libc_sysctl_trampoline), a1, a2, a3, a4, a5, a6)
    	}
    	return 0, 0, ENOSYS
    }
    
    func rawSyscallInternal(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) {
    	return 0, 0, ENOSYS
    }
    
    func rawSyscall6Internal(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno) {
    	return 0, 0, ENOSYS
    }
    
    func syscall9Internal(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err Errno) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. src/internal/poll/sendfile_bsd.go

    		n, err = syscall.Sendfile(dst, src, &pos1, n)
    		if n > 0 {
    			pos += int64(n)
    			written += int64(n)
    			remain -= int64(n)
    		}
    		if err == syscall.EINTR {
    			continue
    		}
    		// This includes syscall.ENOSYS (no kernel
    		// support) and syscall.EINVAL (fd types which
    		// don't implement sendfile), and other errors.
    		// We should end the loop when there is no error
    		// returned from sendfile(2) or it is not a retryable error.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. src/internal/poll/sendfile_linux.go

    		}
    		n, err = syscall.Sendfile(dst, src, nil, n)
    		if n > 0 {
    			written += int64(n)
    			remain -= int64(n)
    			continue
    		} else if err != syscall.EAGAIN && err != syscall.EINTR {
    			// This includes syscall.ENOSYS (no kernel
    			// support) and syscall.EINVAL (fd types which
    			// don't implement sendfile), and other errors.
    			// We should end the loop when there is no error
    			// returned from sendfile(2) or it is not a retryable error.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. src/internal/poll/sendfile_solaris.go

    			n = int(pos1 - pos)
    		}
    		if n > 0 {
    			pos += int64(n)
    			written += int64(n)
    			remain -= int64(n)
    			continue
    		} else if err != syscall.EAGAIN && err != syscall.EINTR {
    			// This includes syscall.ENOSYS (no kernel
    			// support) and syscall.EINVAL (fd types which
    			// don't implement sendfile), and other errors.
    			// We should end the loop when there is no error
    			// returned from sendfile(2) or it is not a retryable error.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. src/internal/syscall/unix/eaccess_other.go

    //go:build unix && !darwin && !dragonfly && !freebsd && !linux && !openbsd && !netbsd
    
    package unix
    
    import "syscall"
    
    func Eaccess(path string, mode uint32) error {
    	return syscall.ENOSYS
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 15:02:38 UTC 2024
    - 351 bytes
    - Viewed (0)
  6. src/os/pidfd_other.go

    	return sysAttr
    }
    
    func getPidfd(_ *syscall.SysProcAttr) (uintptr, bool) {
    	return 0, false
    }
    
    func pidfdFind(_ int) (uintptr, error) {
    	return 0, syscall.ENOSYS
    }
    
    func (p *Process) pidfdRelease() {}
    
    func (_ *Process) pidfdWait() (*ProcessState, error) {
    	panic("unreachable")
    }
    
    func (_ *Process) pidfdSendSignal(_ syscall.Signal) error {
    	panic("unreachable")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 692 bytes
    - Viewed (0)
  7. src/os/pidfd_linux.go

    	if !pidfdWorks() {
    		return 0, false
    	}
    
    	return uintptr(*sysAttr.PidFD), true
    }
    
    func pidfdFind(pid int) (uintptr, error) {
    	if !pidfdWorks() {
    		return 0, syscall.ENOSYS
    	}
    
    	h, err := unix.PidFDOpen(pid, 0)
    	if err != nil {
    		return 0, convertESRCH(err)
    	}
    	return h, nil
    }
    
    // _P_PIDFD is used as idtype argument to waitid syscall.
    const _P_PIDFD = 3
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. src/internal/poll/fd_wasip1.go

    	}
    }
    
    // dupCloseOnExecOld always errors on wasip1 because there is no mechanism to
    // duplicate file descriptors.
    func dupCloseOnExecOld(fd int) (int, string, error) {
    	return -1, "dup", syscall.ENOSYS
    }
    
    // Fchdir wraps syscall.Fchdir.
    func (fd *FD) Fchdir() error {
    	if err := fd.incref(); err != nil {
    		return err
    	}
    	defer fd.decref()
    	return syscall.Chdir(fd.Path)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:14:02 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top