Module Name:    src
Committed By:   uwe
Date:           Thu Mar 21 21:13:45 UTC 2019

Modified Files:
        src/lib/libc/stdio: funopen.3

Log Message:
Minor markup and wording fixes.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/lib/libc/stdio/funopen.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/stdio/funopen.3
diff -u src/lib/libc/stdio/funopen.3:1.24 src/lib/libc/stdio/funopen.3:1.25
--- src/lib/libc/stdio/funopen.3:1.24	Wed Apr  6 03:38:31 2016
+++ src/lib/libc/stdio/funopen.3	Thu Mar 21 21:13:45 2019
@@ -1,4 +1,4 @@
-.\"	$NetBSD: funopen.3,v 1.24 2016/04/06 03:38:31 dholland Exp $
+.\"	$NetBSD: funopen.3,v 1.25 2019/03/21 21:13:45 uwe Exp $
 .\"
 .\" Copyright (c) 1990, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -47,8 +47,22 @@
 .Sh SYNOPSIS
 .In stdio.h
 .Ft FILE *
-.Fn funopen "void *cookie" "int (*readfn)(void *, char *, int)" "int (*writefn)(void *, const char *, int)" "off_t (*seekfn)(void *, off_t, int)" "int (*closefn)(void *)"
-.Fn funopen2 "void *cookie" "ssize_t (*readfn)(void *, void *, size_t)" "ssize_t (*writefn)(void *, const void *, size_t)" "off_t (*seekfn)(void *, off_t, int)" "int (*flushfn)(void *)" "int (*closefn)(void *)"
+.Fo funopen
+.Fa "void *cookie"
+.Fa "int (*readfn)(void *, char *, int)"
+.Fa "int (*writefn)(void *, const char *, int)"
+.Fa "off_t (*seekfn)(void *, off_t, int)"
+.Fa "int (*closefn)(void *)"
+.Fc
+.Ft FILE *
+.Fo funopen2
+.Fa "void *cookie"
+.Fa "ssize_t (*readfn)(void *, void *, size_t)"
+.Fa "ssize_t (*writefn)(void *, const void *, size_t)"
+.Fa "off_t (*seekfn)(void *, off_t, int)"
+.Fa "int (*flushfn)(void *)"
+.Fa "int (*closefn)(void *)"
+.Fc
 .Ft FILE *
 .Fn fropen "void *cookie" "int (*readfn)(void *, char *, int)"
 .Ft FILE *
@@ -126,7 +140,7 @@ Additionally, all of the functions shoul
 appropriately if an error occurs.
 .Pp
 An error on
-.Fn closefn
+.Fa closefn
 does not keep the stream open.
 .Pp
 As a convenience, the include file
@@ -183,6 +197,6 @@ The
 functions first appeared in
 .Nx 7.0 .
 .Sh CAVEATS
-All three functions are specific to
+All these functions are specific to
 .Nx
 and thus unportable.

Reply via email to