isyscall

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2021 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

View Source
const (
	EPANIC syscall.Errno = 0xfffff
)

Variables

This section is empty.

Functions

func Errno

func Errno(code syscall.Errno) uintptr

func Error

func Error(err error) uintptr

func Register

func Register(no uintptr, handler Handler)

Types

type Handler

type Handler func(req *Request)

func GetHandler

func GetHandler(no uintptr) Handler

type Request

type Request struct {
	Lock uintptr
	// contains filtered or unexported fields
}

func NewRequest added in v0.4.1

func NewRequest(tf uintptr) Request

func (*Request) Arg added in v0.4.1

func (r *Request) Arg(n int) uintptr

func (*Request) Done

func (r *Request) Done()

func (*Request) NO

func (r *Request) NO() uintptr

func (*Request) Ret

func (r *Request) Ret() uintptr

func (*Request) SetError added in v0.4.1

func (r *Request) SetError(err error)

func (*Request) SetErrorNO added in v0.4.1

func (r *Request) SetErrorNO(errno syscall.Errno)

func (*Request) SetRet added in v0.4.1

func (r *Request) SetRet(v uintptr)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL