diff options
author | tjr <tjr@FreeBSD.org> | 2004-03-17 12:46:17 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2004-03-17 12:46:17 +0000 |
commit | dab1ed1529873bbaa4dd1a0b31d9615440a78cd4 (patch) | |
tree | ce2148e1502f9155f8555c3b3fcc4b977b784b1c /lib/libc/stdio | |
parent | 430cbeb954a8887ff8f440ed981156921b0cdf5a (diff) | |
download | FreeBSD-src-dab1ed1529873bbaa4dd1a0b31d9615440a78cd4.zip FreeBSD-src-dab1ed1529873bbaa4dd1a0b31d9615440a78cd4.tar.gz |
Re-add description of putc() macro (back out rev. 1.13.)
Diffstat (limited to 'lib/libc/stdio')
-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 |