diff options
| author | lukem <lukem@NetBSD.org> | 1998-08-29 08:32:32 +0000 |
|---|---|---|
| committer | lukem <lukem@NetBSD.org> | 1998-08-29 08:32:32 +0000 |
| commit | ce83c69e00a77ed28196913aa6cd4d90b18a5a40 (patch) | |
| tree | 450c82d7051427c4a5591ae055ee20a914f89ff7 /lib/libc/sys/fsync.2 | |
| parent | ed88a6f1032cd4c9cfba1c0bd934bbe6bff8fc05 (diff) | |
first pass at fixing up capitalization of function names and
arguments; ensure that each is correct with respect to the
implementation, rather than being correct as per english.
Diffstat (limited to 'lib/libc/sys/fsync.2')
| -rw-r--r-- | lib/libc/sys/fsync.2 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/sys/fsync.2 b/lib/libc/sys/fsync.2 index 3f4b0d69455..a9d7cf6d1e5 100644 --- a/lib/libc/sys/fsync.2 +++ b/lib/libc/sys/fsync.2 @@ -1,4 +1,4 @@ -.\" $NetBSD: fsync.2,v 1.4 1995/02/27 12:32:38 cgd Exp $ +.\" $NetBSD: fsync.2,v 1.5 1998/08/29 08:32:37 lukem Exp $ .\" .\" Copyright (c) 1983, 1993 .\" The Regents of the University of California. All rights reserved. @@ -44,14 +44,14 @@ .Ft int .Fn fsync "int fd" .Sh DESCRIPTION -.Fn Fsync +.Fn fsync causes all modified data and attributes of .Fa fd to be moved to a permanent storage device. This normally results in all in-core modified copies of buffers for the associated file to be written to a disk. .Pp -.Fn Fsync +.Fn fsync should be used by programs that require a file to be in a known state, for example, in building a simple transaction facility. @@ -64,10 +64,10 @@ The fails if: .Bl -tag -width Er .It Bq Er EBADF -.Fa Fd +.Fa fd is not a valid descriptor. .It Bq Er EINVAL -.Fa Fd +.Fa fd 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. |
