From e78f6151d999b0ce4288cd3bf9aa5edd6076a5d5 Mon Sep 17 00:00:00 2001 From: martijn <> Date: Wed, 14 Aug 2019 17:21:42 +0000 Subject: [PATCH] Document that ber_scanf_elements' 'p' and 't' attribute don't eat the current ber element. OK claudio@ Seems sensible to deraadt@ --- src/lib/libutil/ber_get_string.3 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/lib/libutil/ber_get_string.3 b/src/lib/libutil/ber_get_string.3 index b01f186c..16251c18 100644 --- a/src/lib/libutil/ber_get_string.3 +++ b/src/lib/libutil/ber_get_string.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ber_get_string.3,v 1.5 2019/05/21 12:30:07 rob Exp $ +.\" $OpenBSD: ber_get_string.3,v 1.6 2019/08/14 17:21:42 martijn Exp $ .\" .\" Copyright (c) 2007, 2012 Reyk Floeter .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: May 21 2019 $ +.Dd $Mdocdate: August 14 2019 $ .Dt BER_GET_STRING 3 .Os .Sh NAME @@ -107,6 +107,11 @@ and .Sq t , the type of the element is not checked. For +.Sq p , +and +.Sq t +the pointer is not incremented to the next element. +For .Sq e , a pointer to the element is stored in the corresponding pointer variable. For