2021-08-12 07:42:14 +00:00
|
|
|
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_SF_H_
|
|
|
|
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_SF_H_
|
|
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
|
|
COSMOPOLITAN_C_START_
|
|
|
|
|
|
|
|
struct sf_hdtr {
|
|
|
|
struct iovec *headers;
|
|
|
|
int hdr_cnt;
|
|
|
|
struct iovec *trailers;
|
|
|
|
int trl_cnt;
|
|
|
|
};
|
|
|
|
|
2022-08-05 21:50:08 +00:00
|
|
|
extern const int SF_MNOWAIT;
|
|
|
|
extern const int SF_NODISKIO;
|
|
|
|
extern const int SF_SYNC;
|
2021-08-12 07:42:14 +00:00
|
|
|
|
2023-06-09 06:44:03 +00:00
|
|
|
#define SF_MNOWAIT SF_MNOWAIT
|
|
|
|
#define SF_NODISKIO SF_NODISKIO
|
|
|
|
#define SF_SYNC SF_SYNC
|
2021-08-12 07:42:14 +00:00
|
|
|
|
|
|
|
|
2023-06-09 06:44:03 +00:00
|
|
|
COSMOPOLITAN_C_END_
|
|
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
2021-08-12 07:42:14 +00:00
|
|
|
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_SF_H_ */
|