Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/stdio Minor markup and wording fixes.
details: https://anonhg.NetBSD.org/src/rev/d5bd1c1fc21a
branches: trunk
changeset: 840086:d5bd1c1fc21a
user: uwe <uwe%NetBSD.org@localhost>
date: Thu Mar 21 21:13:45 2019 +0000
description:
Minor markup and wording fixes.
diffstat:
lib/libc/stdio/funopen.3 | 24 +++++++++++++++++++-----
1 files changed, 19 insertions(+), 5 deletions(-)
diffs (51 lines):
diff -r 3c86b913aa95 -r d5bd1c1fc21a lib/libc/stdio/funopen.3
--- a/lib/libc/stdio/funopen.3 Thu Mar 21 20:21:40 2019 +0000
+++ b/lib/libc/stdio/funopen.3 Thu Mar 21 21:13:45 2019 +0000
@@ -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 @@
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 @@
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.
Home |
Main Index |
Thread Index |
Old Index