aboutsummaryrefslogtreecommitdiffstats
path: root/man3/dprintf.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2005-10-19 07:29:28 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2005-10-19 07:29:28 +0000
commite1d6264d9feaed449e70f288ebdd40d8abae818c (patch)
treec3c8c2c31ecf22c1e9cb32458e485d02a695d3c6 /man3/dprintf.3
parentf8fc5a2301bcf0cbfaa1db15adedde386e26a081 (diff)
downloadman-pages-e1d6264d9feaed449e70f288ebdd40d8abae818c.tar.gz
Manual fixes for parentheses formatting
Diffstat (limited to 'man3/dprintf.3')
-rw-r--r--man3/dprintf.310
1 files changed, 5 insertions, 5 deletions
diff --git a/man3/dprintf.3 b/man3/dprintf.3
index fc6863cc2e..b6cada5a22 100644
--- a/man3/dprintf.3
+++ b/man3/dprintf.3
@@ -39,9 +39,9 @@ The functions
and
.BR vdprintf ()
(as found in the glibc2 library) are exact analogues of
-.B fprintf
+.BR fprintf ()
and
-.BR vfprintf ,
+.BR vfprintf (),
except that they output to a file descriptor
.I fd
instead of to a given stream.
@@ -49,9 +49,9 @@ instead of to a given stream.
These functions are GNU extensions, not in C or POSIX.
Clearly, the names were badly chosen.
Many systems (like MacOS) have incompatible functions called
-.IR dprintf ,
+.IR dprintf (),
usually some debugging version of
-.IR printf ,
+.IR printf (),
perhaps with a prototype like
.BI "void dprintf (int level, const char *" format ", ...);"
@@ -67,6 +67,6 @@ So, probably, it is better to avoid this function in programs
intended to be portable.
A better name would have been
-.IR fdprintf .
+.IR fdprintf ().
.SH "SEE ALSO"
.BR printf (3)