From: Pierangelo Masarati Date: Sun, 9 Apr 2006 22:27:49 +0000 (+0000) Subject: document new "A" format for ber_scanf(3) X-Git-Tag: OPENLDAP_REL_ENG_2_4_0ALPHA~10^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ca7e49fa74e6966da721b4173b3cd584d2d9667c;p=openldap document new "A" format for ber_scanf(3) --- 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