summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/fsync.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/fsync.2')
-rw-r--r--lib/libc/sys/fsync.24
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/sys/fsync.2 b/lib/libc/sys/fsync.2
index 883177e..644f337 100644
--- a/lib/libc/sys/fsync.2
+++ b/lib/libc/sys/fsync.2
@@ -68,10 +68,14 @@ The
fails if:
.Bl -tag -width Er
.It Bq Er EBADF
+The
.Fa fd
+argument
is not a valid descriptor.
.It Bq Er EINVAL
+The
.Fa fd
+argument
refers to a socket, not to a file.
.It Bq Er EIO
An I/O error occurred while reading from or writing to the file system.
OpenPOWER on IntegriCloud