diff options
| author | Alejandro Colomar <alx@kernel.org> | 2025-08-23 21:40:10 +0200 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2025-09-07 11:14:35 +0200 |
| commit | 17fa7e849eb524eeda51beadc9924527358722bb (patch) | |
| tree | b7a0e00134670e1c4d7059ac3ae46ae8e149564b /man/man3/strfmon.3 | |
| parent | ddb26eb2011a498ece999aa44e501e0ed7fddb09 (diff) | |
| download | man-pages-17fa7e849eb524eeda51beadc9924527358722bb.tar.gz | |
man/: Address diagnostic about mismatched quotes
Most of these are false positives, in the sense that a line break is
escaped, and the matching quote is in the next source line.
However, let's remove those escaped line breaks, which make reading the
source more difficult. For this, rename some parameters to be shorter,
and allow some lines to go slightly past the 80-column right margin.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man3/strfmon.3')
| -rw-r--r-- | man/man3/strfmon.3 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/man/man3/strfmon.3 b/man/man3/strfmon.3 index 2a469c1c67..f201f47c4b 100644 --- a/man/man3/strfmon.3 +++ b/man/man3/strfmon.3 @@ -13,12 +13,11 @@ Standard C library .nf .B #include <monetary.h> .P -.BR "ssize_t strfmon(" "size_t max;" -.BI " char " s "[restrict " max "], size_t " max , +.BR "ssize_t strfmon(" "size_t size;" +.BI " char " s "[restrict " size "], size_t " size , .BI " const char *restrict " format ", ...);" -.BR "ssize_t strfmon_l(" "size_t max;" -.BI " char " s "[restrict " max "], size_t " max ", \ -locale_t " locale , +.BR "ssize_t strfmon_l(" "size_t size;" +.BI " char " s "[restrict " size "], size_t " size ", locale_t " l , .BI " const char *restrict " format ", ...);" .fi .SH DESCRIPTION @@ -31,19 +30,20 @@ and format specification and places the result in the character array .I s -of size -.IR max . +of +.I size +bytes. .P The .BR strfmon_l () function performs the same task, but uses the locale specified by -.IR locale . +.IR l . The behavior of .BR strfmon_l () is undefined if -.I locale +.I l is the special locale object .B LC_GLOBAL_LOCALE (see |
