summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-05-05 20:01:27 +0200
committerAlejandro Colomar <alx@kernel.org>2024-05-05 22:02:59 +0200
commit0e819fbcbb196faf78cd101d1807465489e47caf (patch)
tree7f07d2f44352c585f101410ce919caa760f4675b
parent0b64be1122e32d02c524e19da29b80f91f9fa562 (diff)
man/man3/a2i.3: Document QChar
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man/man3/a2i.321
1 files changed, 21 insertions, 0 deletions
diff --git a/man/man3/a2i.3 b/man/man3/a2i.3
index f077b21..8d8a55d 100644
--- a/man/man3/a2i.3
+++ b/man/man3/a2i.3
@@ -272,6 +272,27 @@ if (a2s(int64_t, &i, s, NULL, 0, -7, 42) == -1)
.EE
.in
.
+.SS QChar
+These functions have const-generic wrapper macros.
+These decide the const-ness of
+.I endp
+depending on the const-ness of the input
+.IR s .
+So, if
+.I s
+is of type
+.IR const\~char\~* ,
+.I endp
+will be of type
+.IR const\~char\~** ;
+and if
+.I s
+is of type
+.IR char\~* ,
+.I endp
+will be of type
+.IR char\~** .
+.
.
.SH Return value
On success,