aboutsummaryrefslogtreecommitdiffstats
path: root/man3/dprintf.3
diff options
context:
space:
mode:
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)