[PATCH 0/4] improvements for strncpy.3 etc

Paul Eggert
2023-11-12T23:52:25Z

Improve man pages for strncpy and related functions.
Do this partly by using clearer terminology (e.g.,
"byte" rather than "character" which is ambiguous),
partly by being clearer about whether arguments need
to be strings, and partly by using better sample
implementations and examples.

This patch does not affect man pages for the corresponding
wide-character functions. These functions are rarely used
and so are lower priority.

It also does not affect string_copying(7) which needs similar
work; I ran out of time for now.

Paul Eggert (4):
* Remove man3/stpecpyx.3; no longer present.
string.3 fixes
strncat.3 fixes
stpncpy(3) fixes

man3/stpecpyx.3 | 1 -
man3/stpncpy.3 | 82 ++++++++++++++++++++++++-------------------------
man3/string.3 | 4 +--
man3/strncat.3 | 54 ++++++++++++++------------------
4 files changed, 65 insertions(+), 76 deletions(-)
delete mode 100644 man3/stpecpyx.3

--
2.41.0