diff options
author | Pawel Kowalski <p.kowalski2@partner.samsung.com> | 2019-08-28 14:28:40 +0200 |
---|---|---|
committer | Pawel Kowalski <p.kowalski2@partner.samsung.com> | 2019-08-28 14:28:40 +0200 |
commit | 26bea900a531662c6028ecc06f4adea825658434 (patch) | |
tree | 1db3d30bddc8b8336fa7a8f2bf5a3615001071e1 /doc/man/asn1_read_value.3 | |
parent | e527f54afdf27ab8ce73a22d05d69e5482f5e92b (diff) | |
download | libtasn1-26bea900a531662c6028ecc06f4adea825658434.tar.gz libtasn1-26bea900a531662c6028ecc06f4adea825658434.tar.bz2 libtasn1-26bea900a531662c6028ecc06f4adea825658434.zip |
Imported Upstream version 4.14upstream/4.14
Diffstat (limited to 'doc/man/asn1_read_value.3')
-rw-r--r-- | doc/man/asn1_read_value.3 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/man/asn1_read_value.3 b/doc/man/asn1_read_value.3 index 49f8ce4..62ebe39 100644 --- a/doc/man/asn1_read_value.3 +++ b/doc/man/asn1_read_value.3 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by gdoc. -.TH "asn1_read_value" 3 "4.8" "libtasn1" "libtasn1" +.TH "asn1_read_value" 3 "4.13" "libtasn1" "libtasn1" .SH NAME asn1_read_value \- API function .SH SYNOPSIS @@ -18,7 +18,7 @@ pointer to memory cells already allocated (may be \fBNULL\fP). number of bytes of *value: value[0]..value[len\-1]. Initialy holds the sizeof value. .SH "DESCRIPTION" -Returns the value of one element inside a structure. +Returns the value of one element inside a structure. If an element is OPTIONAL and this returns \fBASN1_ELEMENT_NOT_FOUND\fP, it means that this element wasn't present in the der encoding that created the structure. The first element @@ -72,7 +72,8 @@ encoding of the structure actually used. \fBASN1_VALUE_NOT_FOUND\fP if there isn't any value for the element selected, and \fBASN1_MEM_ERROR\fP if The value vector isn't big enough to store the result, and in this case \fIlen\fP will contain the number of -bytes needed. +bytes needed. On the occasion that the stored data are of zero\-length +this function may return \fBASN1_SUCCESS\fP even if the provided \fIlen\fP is zero. .SH COPYRIGHT Copyright \(co 2006-2015 Free Software Foundation, Inc.. .br |