X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/blobdiff_plain/00514ec7f1070550a52651971bb6a5e36efbe4f0..0c3d696d84c1d76482d83e76e4c2b4218b028f1f:/doc/libcdecl.3 diff --git a/doc/libcdecl.3 b/doc/libcdecl.3 index 4a882a0..725566b 100644 --- a/doc/libcdecl.3 +++ b/doc/libcdecl.3 @@ -1,4 +1,4 @@ -.Dd December 3, 2023 +.Dd January 17, 2024 .Dt LIBCDECL \&3 "Cdecl99 Developer's Manual" .Os cdecl99 .Sh NAME @@ -29,8 +29,7 @@ see the manual page. .Pp .Nm -is intended to be portable to any system with a working C implementation that -at least makes an effort to support C99. +is intended to be portable to any system with a standard C compiler. The library is thread-safe when appropriate facilities exist and are enabled at build time. .Sh NAMESPACE @@ -248,9 +247,10 @@ member is non-null, then it points to the first element of a singly-linked list of type qualifiers. .Ss Array Declarators .Bd -literal -offset indent +typedef unsigned long long cdecl_uintmax; /* depends on configuration */ struct cdecl_array { char *vla; - uintmax_t length; + cdecl_uintmax length; }; .Ed .Pp @@ -265,6 +265,19 @@ Otherwise, if .Va length is positive, then this is an array declarator with the specified length. Otherwise, this is an incomplete array declarator. +.Pp +If the library was configured using a compiler which does not support +.Vt unsigned long long , +then the +.Vt cdecl_uintmax +type is defined as +.Vt unsigned long +instead. +Prior versions of +.Nm +used +.Vt uintmax_t +directly. .Ss Function Declarators .Bd -literal -offset indent typedef _Bool cdecl_bool; /* depends on configuration */ @@ -439,7 +452,7 @@ is non-zero, the resulting string is '\\0' terminated even if it was truncated. .Sh AUTHORS Nick Bowler .Sh COPYRIGHT -Copyright \(co 2011\(en2012, 2021, 2023 Nick Bowler +Copyright \(co 2011\(en2012, 2021, 2023\(en2024 Nick Bowler .Pp Permission is granted to copy, distribute and/or modify this manual under the terms of the GNU General Public License as published by the Free Software