diff options
author | 2004-05-05 20:47:23 +0000 | |
---|---|---|
committer | 2004-05-05 20:47:23 +0000 | |
commit | 0692f149b1655871f607807b154004b83d8b2309 (patch) | |
tree | a9c3f73636118b9e604a4fd67064ea8637493f57 /lib/libc/sys | |
parent | simplify license. ok author. (diff) | |
download | wireguard-openbsd-0692f149b1655871f607807b154004b83d8b2309.tar.xz wireguard-openbsd-0692f149b1655871f607807b154004b83d8b2309.zip |
O_SYNC is valid for F_GETFL/F_SETFL too
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/fcntl.2 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libc/sys/fcntl.2 b/lib/libc/sys/fcntl.2 index 4276d4856ae..946f29ea4be 100644 --- a/lib/libc/sys/fcntl.2 +++ b/lib/libc/sys/fcntl.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fcntl.2,v 1.23 2003/06/02 20:18:39 millert Exp $ +.\" $OpenBSD: fcntl.2,v 1.24 2004/05/05 20:47:23 millert Exp $ .\" $NetBSD: fcntl.2,v 1.6 1995/02/27 12:32:29 cgd Exp $ .\" .\" Copyright (c) 1983, 1993 @@ -181,6 +181,13 @@ when .Tn I/O is possible, e.g., upon availability of data to be read. +.It Dv O_SYNC +Cause writes to be syncronous. +Data will be written to the physical device instead of +just being stored in the buffer cache; corresponds to the +.Dv O_SYNC +flag of +.Xr open 2 . .El .Pp Several commands are available for doing advisory file locking; |