aboutsummaryrefslogtreecommitdiffstats
path: root/man/man3/mbrtowc.3
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2025-03-14 18:33:41 +0100
committerAlejandro Colomar <alx@kernel.org>2025-03-14 18:55:19 +0100
commitd2c2db8830f8fcbb736bdea52b398257447bef6b (patch)
tree13a38ceaeaa6bc257994d91027d42ca187fd2c21 /man/man3/mbrtowc.3
parent44930b7b8eacbfff12acd1dcfbb66dd818e35254 (diff)
downloadman-pages-d2c2db8830f8fcbb736bdea52b398257447bef6b.tar.gz
man/: SYNOPSIS: Use GNU forward-declarations of parameters for sizes of array parameters
This syntax has been proposed for standardization in N3433. Link: <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3433.pdf> Cc: Christopher Bazley <chris.bazley.wg14@gmail.com> Cc: Martin Uecker <uecker@tugraz.at> Cc: Joseph Myers <josmyers@redhat.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man3/mbrtowc.3')
-rw-r--r--man/man3/mbrtowc.33
1 files changed, 2 insertions, 1 deletions
diff --git a/man/man3/mbrtowc.3 b/man/man3/mbrtowc.3
index 9b449dbbff..ccfa8fd51c 100644
--- a/man/man3/mbrtowc.3
+++ b/man/man3/mbrtowc.3
@@ -20,7 +20,8 @@ Standard C library
.nf
.B #include <wchar.h>
.P
-.BI "size_t mbrtowc(wchar_t *restrict " pwc ", const char " s "[restrict ." n ],
+.BI "size_t mbrtowc(size_t " n ;
+.BI " wchar_t *restrict " pwc ", const char " s "[restrict " n ],
.BI " size_t " n ", mbstate_t *restrict " ps );
.fi
.SH DESCRIPTION