aboutsummaryrefslogtreecommitdiff
path: root/db2/progs
diff options
context:
space:
mode:
authorArjun Shankar <arjun@redhat.com>2024-07-29 14:30:59 +0200
committerArjun Shankar <arjun@redhat.com>2024-07-29 15:23:15 +0200
commitb71a51189d3e1a2f515d93c0444916293bd5221f (patch)
tree1180f99373af21409809f6160508c8dd52ade78a /db2/progs
parent946006d37cfc66c162877fc678405525a50f20df (diff)
downloadglibc-b71a51189d3e1a2f515d93c0444916293bd5221f.zip
glibc-b71a51189d3e1a2f515d93c0444916293bd5221f.tar.gz
glibc-b71a51189d3e1a2f515d93c0444916293bd5221f.tar.bz2
manual/stdio: Clarify putc and putwc
The manual entry for `putc' described what "most systems" do instead of describing the glibc implementation and its guarantees. This commit fixes that by warning that putc may be implemented as a macro that double-evaluates `stream', and removing the performance claim. Even though the current `putc' implementation does not double-evaluate `stream', offering this obscure guarantee as an extension to what POSIX allows does not seem very useful. The entry for `putwc' is also edited to bring it in line with `putc'. Reviewed-by: Florian Weimer <fweimer@redhat.com> (cherry picked from commit 10de4a47ef3f481592e3c62eb07bcda23e9fde4d)
Diffstat (limited to 'db2/progs')
0 files changed, 0 insertions, 0 deletions