summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn van Duren <martijn@cvs.openbsd.org>2019-08-14 17:21:43 +0000
committerMartijn van Duren <martijn@cvs.openbsd.org>2019-08-14 17:21:43 +0000
commit18f9b947daedcc6daa8242d5bdf1a4852a55dfd4 (patch)
treea0f02a621c50716f1a67fd8529faf4d14c093f88
parentb77f8f0bfa386b23915c51f965fe362d673aa0de (diff)
Document that ber_scanf_elements' 'p' and 't' attribute don't eat the
current ber element. OK claudio@ Seems sensible to deraadt@
-rw-r--r--lib/libutil/ber_get_string.39
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libutil/ber_get_string.3 b/lib/libutil/ber_get_string.3
index b01f186cb40..16251c18250 100644
--- a/lib/libutil/ber_get_string.3
+++ b/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 <reyk@openbsd.org>
.\"
@@ -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