freebsd-src/stand/kboot/include
Warner Losh 3ae18fdfbc kboot: Create function for error checking.
Linux has the convention of returning -ERRNO to flag errors from its
system calls. Sometimes other negative values are returned that are
success...  However, only values -1 to -4096 (inclusive) are really
errors. The rest are either truncated values that only look negative (so
use long instead of int), or are things like addresses or legal unsigned
file offsets or similar that are successful returns. Filter out the
latter.

Sponsored by:		Netflix
2024-03-11 15:21:51 -06:00
..
arch kboot: update copyright on these files. 2024-01-28 13:04:32 -07:00
host_syscall.h kboot: Create function for error checking. 2024-03-11 15:21:51 -06:00
termios_gen.h
termios.h