diff options
author | 2019-08-14 17:21:42 +0000 | |
---|---|---|
committer | 2019-08-14 17:21:42 +0000 | |
commit | c32b9c34024547f52cfcee14d44043a6e1987ac7 (patch) | |
tree | 754650e191b7388a18a7e6591f60a5bebb74a9ea /lib | |
parent | Make ber_scanf_elements's 'e' attribute eat the element. (diff) | |
download | wireguard-openbsd-c32b9c34024547f52cfcee14d44043a6e1987ac7.tar.xz wireguard-openbsd-c32b9c34024547f52cfcee14d44043a6e1987ac7.zip |
Document that ber_scanf_elements' 'p' and 't' attribute don't eat the
current ber element.
OK claudio@
Seems sensible to deraadt@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libutil/ber_get_string.3 | 9 |
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 |