}
#endif
-#ifdef SPLICE_F_UNMAP
+#ifndef SPLICE_F_UNMAP
#define SPLICE_F_UNMAP (0x10)
#endif
return val;
}
-static inline double os_random_double(os_random_state_t *rs)
-{
- double val;
-
- drand48_r(rs, &val);
- return val;
-}
-
static inline int fio_lookup_raw(dev_t dev, int *majdev, int *mindev)
{
struct raw_config_request rq;