diff options
Diffstat (limited to 'lib/libc/stdio/putc.3')
-rw-r--r-- | lib/libc/stdio/putc.3 | 10 |
1 files changed, 8 insertions, 2 deletions
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 |