cosmopolitan/libc/sysv/consts/prio.h

25 lines
730 B
C

#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_PRIO_H_
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_PRIO_H_
#include "libc/runtime/symbolic.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
hidden extern const long PRIO_MAX;
hidden extern const long PRIO_MIN;
hidden extern const long PRIO_PGRP;
hidden extern const long PRIO_PROCESS;
hidden extern const long PRIO_USER;
hidden extern const long NZERO;
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#define PRIO_PROCESS LITERALLY(0)
#define PRIO_PGRP LITERALLY(1)
#define PRIO_USER LITERALLY(2)
#define PRIO_MIN LITERALLY(-20)
#define PRIO_MAX LITERALLY(20)
#define NZERO LITERALLY(20)
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_PRIO_H_ */