2020-06-15 07:18:57 -07:00
|
|
|
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_MSG_H_
|
|
|
|
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_MSG_H_
|
|
|
|
COSMOPOLITAN_C_START_
|
|
|
|
|
2022-08-05 23:50:08 +02:00
|
|
|
extern const int MSG_DONTWAIT;
|
2024-09-18 19:54:56 -07:00
|
|
|
extern const int MSG_WAITALL;
|
2022-08-05 23:50:08 +02:00
|
|
|
extern const int MSG_NOSIGNAL;
|
|
|
|
extern const int MSG_TRUNC;
|
2024-09-18 19:54:56 -07:00
|
|
|
extern const int MSG_CTRUNC;
|
|
|
|
extern const int MSG_FASTOPEN; /* linux only */
|
2020-06-15 07:18:57 -07:00
|
|
|
|
2023-06-08 23:44:03 -07:00
|
|
|
#define MSG_OOB 1
|
|
|
|
#define MSG_PEEK 2
|
2023-07-23 16:31:10 -07:00
|
|
|
#define MSG_DONTROUTE 4
|
|
|
|
#define MSG_DONTWAIT MSG_DONTWAIT
|
2024-09-18 19:54:56 -07:00
|
|
|
#define MSG_NOSIGNAL MSG_NOSIGNAL
|
2023-07-23 16:31:10 -07:00
|
|
|
#define MSG_WAITALL MSG_WAITALL
|
|
|
|
#define MSG_TRUNC MSG_TRUNC
|
|
|
|
#define MSG_CTRUNC MSG_CTRUNC
|
2020-06-15 07:18:57 -07:00
|
|
|
|
2023-06-08 23:44:03 -07:00
|
|
|
COSMOPOLITAN_C_END_
|
2020-06-15 07:18:57 -07:00
|
|
|
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_MSG_H_ */
|