summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2003-01-10 07:47:12 +0000
committertjr <tjr@FreeBSD.org>2003-01-10 07:47:12 +0000
commit92b8a62ce5f67fa00bad3929c26f8d1a19458541 (patch)
treeafb4b5b9386258de5a9966016ecc61152ec400f4 /lib/libc/stdio
parent1728522b0e6972f89cbcf137e1913e0f77973de4 (diff)
downloadFreeBSD-src-92b8a62ce5f67fa00bad3929c26f8d1a19458541.zip
FreeBSD-src-92b8a62ce5f67fa00bad3929c26f8d1a19458541.tar.gz
The macro versions of putc() and putchar() are gone.
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r--lib/libc/stdio/putc.312
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/libc/stdio/putc.3 b/lib/libc/stdio/putc.3
index 2223a47..bd51c10 100644
--- a/lib/libc/stdio/putc.3
+++ b/lib/libc/stdio/putc.3
@@ -73,18 +73,12 @@ to the output stream pointed to by
.Pp
The
.Fn putc
-macro acts essentially identically to
-.Fn fputc ,
-but is a macro that expands in-line.
-It may evaluate
-.Fa stream
-more than once, so arguments given to
-.Fn putc
-should not be expressions with potential side effects.
+function acts essentially identically to
+.Fn fputc .
.Pp
The
.Fn putchar
-macro
+function
is identical to
.Fn putc
with an output stream of
OpenPOWER on IntegriCloud