cosmopolitan/libc/sysv/consts/splice.h

21 lines
671 B
C
Raw Normal View History

2020-06-15 14:18:57 +00:00
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_SPLICE_H_
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_SPLICE_H_
#include "libc/runtime/symbolic.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
hidden extern const long SPLICE_F_GIFT;
hidden extern const long SPLICE_F_MORE;
hidden extern const long SPLICE_F_MOVE;
hidden extern const long SPLICE_F_NONBLOCK;
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#define SPLICE_F_GIFT SYMBOLIC(SPLICE_F_GIFT)
#define SPLICE_F_MORE SYMBOLIC(SPLICE_F_MORE)
#define SPLICE_F_MOVE SYMBOLIC(SPLICE_F_MOVE)
#define SPLICE_F_NONBLOCK SYMBOLIC(SPLICE_F_NONBLOCK)
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_SPLICE_H_ */