cosmopolitan/libc/sysv/consts/prio.h
2022-08-05 14:50:08 -07:00

24 lines
682 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_
extern const int PRIO_MAX;
extern const int PRIO_MIN;
extern const int PRIO_PGRP;
extern const int PRIO_PROCESS;
extern const int PRIO_USER;
extern const int 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_ */