#ifndef _SYSENT_H_328180b0_ #define _SYSENT_H_328180b0_ #include #include typedef struct sysent SYSENT; typedef struct scargs SCARGS; /* * A possible syscall. * * In the args/rv strings: * * d 32-bit value, printed as signed decimal. * p 32-bit pointer, printed as hex. * b 32-bit value, printed in hex and decimal. * s (Pointer to) a string, printed as a string. * o 32-bit value, printed as unsigned octal. * D Two 32-bit values, printed in 64-bit signed decimal. * x A 32-bit pointer to a nil-terminated list of string * pointers (execve's argv and envp). * m Two 32-bit values, a pointer-and-length describing a * list of 32-bit values (sysctl's MIB args). * - The argument is ignored. * O Special-case hack for open(): if the second arg has * O_CREAT set, this turns into o, otherwise it is not * referenced and prints as "...". * f(...) Flags bitfield. The string in the parens is broken at * semicolons to describe the bits: * n:STRING * n in decimal, STRING terminated by ; or ) * Bit 1<