1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
TP-Link_Archer-XR500v/BBA1.5_platform/apps/public/strace-4.16/xlat/flockcmds.h
2024-07-22 01:58:46 -03:00

47 lines
1.2 KiB
C

/* Generated by ./xlat/gen.sh from ./xlat/flockcmds.in; do not edit. */
#if !(defined(LOCK_SH) || (defined(HAVE_DECL_LOCK_SH) && HAVE_DECL_LOCK_SH))
# define LOCK_SH 1
#endif
#if !(defined(LOCK_EX) || (defined(HAVE_DECL_LOCK_EX) && HAVE_DECL_LOCK_EX))
# define LOCK_EX 2
#endif
#if !(defined(LOCK_NB) || (defined(HAVE_DECL_LOCK_NB) && HAVE_DECL_LOCK_NB))
# define LOCK_NB 4
#endif
#if !(defined(LOCK_UN) || (defined(HAVE_DECL_LOCK_UN) && HAVE_DECL_LOCK_UN))
# define LOCK_UN 8
#endif
#if !(defined(LOCK_MAND) || (defined(HAVE_DECL_LOCK_MAND) && HAVE_DECL_LOCK_MAND))
# define LOCK_MAND 32
#endif
#if !(defined(LOCK_RW) || (defined(HAVE_DECL_LOCK_RW) && HAVE_DECL_LOCK_RW))
# define LOCK_RW 192
#endif
#if !(defined(LOCK_READ) || (defined(HAVE_DECL_LOCK_READ) && HAVE_DECL_LOCK_READ))
# define LOCK_READ 64
#endif
#if !(defined(LOCK_WRITE) || (defined(HAVE_DECL_LOCK_WRITE) && HAVE_DECL_LOCK_WRITE))
# define LOCK_WRITE 128
#endif
#ifdef IN_MPERS
# error static const struct xlat flockcmds in mpers mode
#else
static
const struct xlat flockcmds[] = {
XLAT(LOCK_SH),
XLAT(LOCK_EX),
XLAT(LOCK_NB),
XLAT(LOCK_UN),
XLAT(LOCK_MAND),
XLAT(LOCK_RW),
XLAT(LOCK_READ),
XLAT(LOCK_WRITE),
XLAT_END
};
#endif /* !IN_MPERS */