isyscall

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 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

func NewRequest(tf uintptr) Request

func (*Request) Arg

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

func (r *Request) SetError(err error)

func (*Request) SetErrorNO

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

func (*Request) SetRet

func (r *Request) SetRet(v uintptr)

Jump to

Keyboard shortcuts

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