Home | History | Annotate | Download | only in syscall

Lines Matching defs:Errno

27 func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
28 func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
29 func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
30 func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
47 addr, errno := m.mmap(0, uintptr(length), prot, flags, fd, offset)
48 if errno != nil {
49 return nil, errno
85 if errno := m.munmap(uintptr(unsafe.Pointer(&b[0])), uintptr(len(b))); errno != nil {
86 return errno
92 // An Errno is an unsigned number describing an error condition.
93 // It implements the error interface. The zero Errno is by convention
94 // a non-error, so code to convert from Errno to error should use:
96 // if errno != 0 {
97 // err = errno
99 type Errno uintptr
101 func (e Errno) Error() string {
108 return "errno " + itoa(int(e))
111 func (e Errno) Temporary() bool {
115 func (e Errno) Timeout() bool {
120 // Errno values.
127 // errnoErr returns common boxed Errno values, to prevent
129 func errnoErr(e Errno) error {