1 /* Values for building 4.4 BSD db routines in the GNU C library. */
9 * If you can't provide lock values in the open(2) call. Note, this
10 * allows races to happen.
12 #ifndef O_EXLOCK /* 4.4BSD extension. */
16 #ifndef O_SHLOCK /* 4.4BSD extension. */
23 #define EFTYPE EINVAL /* POSIX 1003.1 format errno. */
29 #ifndef _POSIX_VDISABLE /* POSIX 1003.1 disabling char. */
30 #define _POSIX_VDISABLE 0 /* Some systems used 0. */
35 #ifndef TCSASOFT /* 4.4BSD extension. */
39 #include <sys/param.h>
41 #ifndef MAX /* Usually found in <sys/param.h>. */
42 #define MAX(_a,_b) ((_a)<(_b)?(_b):(_a))
44 #ifndef MIN /* Usually found in <sys/param.h>. */
45 #define MIN(_a,_b) ((_a)<(_b)?(_a):(_b))