Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys Document EINVAL for invalid flags given to fsyn...



details:   https://anonhg.NetBSD.org/src/rev/939537ea5438
branches:  trunk
changeset: 980626:939537ea5438
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat Feb 13 06:24:08 2021 +0000

description:
Document EINVAL for invalid flags given to fsync_range().

diffstat:

 lib/libc/sys/fsync.2 |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 2354d0db0b42 -r 939537ea5438 lib/libc/sys/fsync.2
--- a/lib/libc/sys/fsync.2      Sat Feb 13 05:38:16 2021 +0000
+++ b/lib/libc/sys/fsync.2      Sat Feb 13 06:24:08 2021 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: fsync.2,v 1.18 2013/09/22 10:02:05 apb Exp $
+.\"    $NetBSD: fsync.2,v 1.19 2021/02/13 06:24:08 dholland Exp $
 .\"
 .\" Copyright (c) 1983, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)fsync.2    8.1 (Berkeley) 6/4/93
 .\"
-.Dd September 22, 2013
+.Dd February 12, 2021
 .Dt FSYNC 2
 .Os
 .Sh NAME
@@ -163,6 +163,9 @@
 .Fa length
 is less than
 .Fa start .
+.It Bq Er EINVAL
+.Fa how
+contains an invalid value.
 .El
 .Sh NOTES
 For optimal efficiency, the



Home | Main Index | Thread Index | Old Index