mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
18 lines
478 B
C
18 lines
478 B
C
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_SHUT_H_
|
|
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_SHUT_H_
|
|
#include "libc/runtime/symbolic.h"
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
|
|
extern const int SHUT_RD;
|
|
extern const int SHUT_RDWR;
|
|
extern const int SHUT_WR;
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
|
|
#define SHUT_RD LITERALLY(0)
|
|
#define SHUT_RDWR LITERALLY(2)
|
|
#define SHUT_WR LITERALLY(1)
|
|
|
|
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_SHUT_H_ */
|