2020-06-15 14:18:57 +00:00
|
|
|
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_OK_H_
|
|
|
|
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_OK_H_
|
|
|
|
|
2023-08-18 11:55:57 +00:00
|
|
|
#define F_OK 0
|
2023-06-09 06:44:03 +00:00
|
|
|
#define X_OK X_OK
|
2023-08-18 11:55:57 +00:00
|
|
|
#define W_OK W_OK
|
|
|
|
#define R_OK R_OK
|
2020-06-15 14:18:57 +00:00
|
|
|
|
|
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
|
|
COSMOPOLITAN_C_START_
|
|
|
|
|
2023-08-18 11:55:57 +00:00
|
|
|
extern const unsigned X_OK;
|
|
|
|
extern const unsigned W_OK;
|
|
|
|
extern const unsigned R_OK; /* warning: is sign bit on windows */
|
2020-06-15 14:18:57 +00:00
|
|
|
|
|
|
|
COSMOPOLITAN_C_END_
|
|
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
|
|
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_OK_H_ */
|