Lines Matching defs:error
36 * Return the proper Posix error number for a failed (EINVAL) fcntl() operation.
42 int error;
45 error = EBADF;
47 error = ESPIPE;
49 error = ENODEV;
51 error = EINVAL;
53 return (error);
60 int error;
71 if ((error = errno) == EINVAL)
72 error = fallocate_errno(fd);
73 else if (error == EOVERFLOW)
74 error = EFBIG;
75 return (error);
86 int error;
97 if ((error = errno) == EINVAL)
98 error = fallocate_errno(fd);
99 else if (error == EOVERFLOW)
100 error = EFBIG;
101 return (error);