From dab1ed1529873bbaa4dd1a0b31d9615440a78cd4 Mon Sep 17 00:00:00 2001 From: tjr Date: Wed, 17 Mar 2004 12:46:17 +0000 Subject: Re-add description of putc() macro (back out rev. 1.13.) --- lib/libc/stdio/putc.3 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'lib/libc/stdio') diff --git a/lib/libc/stdio/putc.3 b/lib/libc/stdio/putc.3 index 2476f5f..e149630 100644 --- a/lib/libc/stdio/putc.3 +++ b/lib/libc/stdio/putc.3 @@ -75,8 +75,14 @@ to the output stream pointed to by .Pp The .Fn putc -function acts essentially identically to -.Fn fputc . +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. .Pp The .Fn putchar -- cgit v1.1