X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/8f6c56a50524aa785f7e596d52dddfb331e18961..b7266188b87f3620ec3f9f717e57194a7dd989fe:/bsd/sys/subr_prf.h diff --git a/bsd/sys/subr_prf.h b/bsd/sys/subr_prf.h index 9daeb653d..c3408ef9f 100644 --- a/bsd/sys/subr_prf.h +++ b/bsd/sys/subr_prf.h @@ -75,11 +75,13 @@ /* * "flags" argument to prf(). + * NB: Used in integer flags field, private to bsd/kern/subr_prf.c */ -#define TOCONS 0x01 -#define TOTTY 0x02 -#define TOLOG 0x04 -#define TOSTR 0x8 +#define TOCONS 0x00000001 /* output to console */ +#define TOTTY 0x00000002 /* output to tty */ +#define TOLOG 0x00000004 /* output to log (log lock not held) */ +#define TOSTR 0x00000008 /* output to string */ +#define TOLOGLOCKED 0x00000010 /* output to log (log lock held) */ extern int prf(const char *fmt, va_list ap, int flags, struct tty *ttyp);