cosmopolitan/libc/sysv/consts/in.h
2023-06-09 05:18:38 -07:00

32 lines
990 B
C

#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_IN_H_
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_IN_H_
#define IN_ACCESS 1
#define IN_ALL_EVENTS 0x0fff
#define IN_ATTRIB 4
#define IN_CLOEXEC 0x080000
#define IN_CLOSE 24
#define IN_CLOSE_NOWRITE 0x10
#define IN_CLOSE_WRITE 8
#define IN_CREATE 0x0100
#define IN_DELETE 0x0200
#define IN_DELETE_SELF 0x0400
#define IN_DONT_FOLLOW 0x02000000
#define IN_EXCL_UNLINK 0x04000000
#define IN_IGNORED 0x8000
#define IN_ISDIR 0x40000000
#define IN_MASK_ADD 0x20000000
#define IN_MODIFY 2
#define IN_MOVE 192
#define IN_MOVED_FROM 0x40
#define IN_MOVED_TO 0x80
#define IN_MOVE_SELF 0x0800
#define IN_NONBLOCK 0x0800
#define IN_ONESHOT 0x80000000
#define IN_ONLYDIR 0x01000000
#define IN_OPEN 0x20
#define IN_Q_OVERFLOW 0x4000
#define IN_UNMOUNT 0x2000
#define IN_CLASSA_NSHIFT 24
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_IN_H_ */