From ca7e49fa74e6966da721b4173b3cd584d2d9667c Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sun, 9 Apr 2006 22:27:49 +0000 Subject: [PATCH] document new "A" format for ber_scanf(3) --- doc/man/man3/lber-decode.3 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/man/man3/lber-decode.3 b/doc/man/man3/lber-decode.3 index 5b4e60db6a..d265ec4e47 100644 --- a/doc/man/man3/lber-decode.3 +++ b/doc/man/man3/lber-decode.3 @@ -104,6 +104,14 @@ returned in the parameter. The caller should free the returned string using .BR ber_memfree (). .TP +.B A +Octet string. A variant of "\fBa\fP". A char ** should be supplied. +Memory is allocated, filled with the contents of the octet string, +null-terminated, and returned in the parameter, unless a zero-length +string would result; in that case, the arg is set to NULL. +The caller should free the returned string using +.BR ber_memfree (). +.TP .B s Octet string. A char * buffer should be supplied, followed by a pointer to a ber_len_t initialized to the size of the buffer. Upon return, the -- 2.39.5