diff options
author | Arjun Shankar <arjun@redhat.com> | 2024-07-29 14:30:59 +0200 |
---|---|---|
committer | Arjun Shankar <arjun@redhat.com> | 2024-07-29 14:55:10 +0200 |
commit | 10de4a47ef3f481592e3c62eb07bcda23e9fde4d (patch) | |
tree | 155220ef55d343cf4f11ffe45d38bcbe93546cee /stdlib/mp_clz_tab.c | |
parent | 32328a5a1461ff88c0b1e04954e9c68b3fa7f56d (diff) | |
download | glibc-10de4a47ef3f481592e3c62eb07bcda23e9fde4d.zip glibc-10de4a47ef3f481592e3c62eb07bcda23e9fde4d.tar.gz glibc-10de4a47ef3f481592e3c62eb07bcda23e9fde4d.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>
Diffstat (limited to 'stdlib/mp_clz_tab.c')
0 files changed, 0 insertions, 0 deletions