From ce83c69e00a77ed28196913aa6cd4d90b18a5a40 Mon Sep 17 00:00:00 2001 From: lukem Date: Sat, 29 Aug 1998 08:32:32 +0000 Subject: 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. --- lib/libc/sys/fsync.2 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/libc/sys/fsync.2') 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. -- cgit