1 #define _XOPEN_SOURCE 600
6 /* Allocate disk space.
7 * Expects fd's offset to be 0; may also reset fd's offset to 0.
8 * Returns 0 on success, and a positive errno otherwise. */
10 rawfalloc(int fd
, int len
)
12 return posix_fallocate(fd
, 0, len
);