Glibc doesn't (and quite probably won't) include a wrapper for this
system call. Therefore, point out that potential callers will need
to use syscall(2), and rewrite the RETURN VALUE text to show things
as they would be if syscall() is used.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
.\" Written by Dave Chinner <dgc@sgi.com>
.\" May be distributed as per GNU General Public License version 2.
.\"
-.TH FALLOCATE 2 2007-07-20 "Linux" "Linux Programmer's Manual"
+.TH FALLOCATE 2 2008-10-06 "Linux" "Linux Programmer's Manual"
.SH NAME
fallocate \- manipulate file space
.SH SYNOPSIS
may allocate a larger range than that which was specified.
.SH RETURN VALUE
.BR fallocate ()
-returns zero on success, or an error number on failure.
-Note that
-.\" FIXME . the library wrapper function will do the right
-.\" thing, returning -1 on error and setting errno.
-.I errno
-is not set.
+returns zero on success, and -1 on failure.
.SH ERRORS
.TP
.B EBADF
.SH CONFORMING TO
.BR fallocate ()
is Linux-specific.
+.SH NOTES
+Glibc does not provide a wrapper for this system call; call it using
+.BR syscall (2).
.SH SEE ALSO
.BR ftruncate (2),
.BR posix_fadvise (3),