syscallnum

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustNumber

func MustNumber(arch hv.CpuArchitecture, sc defs.Syscall) int

MustNumber panics on lookup failure. Useful in tests where failure should abort immediately.

func Number

func Number(arch hv.CpuArchitecture, sc defs.Syscall) (int, error)

Number returns the architecture-specific syscall number for the given logical syscall identifier.

Types

This section is empty.

Jump to

Keyboard shortcuts

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