diff options
author | des <des@FreeBSD.org> | 2013-03-04 18:51:53 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2013-03-04 18:51:53 +0000 |
commit | a46fb687f8ad27ff1856cbb9e63ffeedfe32a01e (patch) | |
tree | 0bbbe3b7ce12b5406f91a5a007f7089945373711 /contrib/openpam/doc/man/openpam_straddch.3 | |
parent | 844e77458d89ac3e387f0df5c205866061dc5172 (diff) | |
download | FreeBSD-src-a46fb687f8ad27ff1856cbb9e63ffeedfe32a01e.zip FreeBSD-src-a46fb687f8ad27ff1856cbb9e63ffeedfe32a01e.tar.gz |
Merge upstream r634:646: correctly parse mixed quoted / unquoted text.
Diffstat (limited to 'contrib/openpam/doc/man/openpam_straddch.3')
-rw-r--r-- | contrib/openpam/doc/man/openpam_straddch.3 | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/contrib/openpam/doc/man/openpam_straddch.3 b/contrib/openpam/doc/man/openpam_straddch.3 index c555824..ea11c93 100644 --- a/contrib/openpam/doc/man/openpam_straddch.3 +++ b/contrib/openpam/doc/man/openpam_straddch.3 @@ -34,7 +34,7 @@ .\" .\" $Id$ .\" -.Dd May 26, 2012 +.Dd March 3, 2013 .Dt OPENPAM_STRADDCH 3 .Os .Sh NAME @@ -73,6 +73,21 @@ and argument point to variables used to hold the size of the buffer and the length of the string it contains, respectively. .Pp +The final argument, +.Fa ch , +is the character that should be appended to +the string. If +.Fa ch +is 0, nothing is appended, but a new buffer is +still allocated if +.Fa str +is NULL. This can be used to +.Do +bootstrap +.Dc +the +string. +.Pp If a new buffer is allocated or an existing buffer is reallocated to make room for the additional character, .Fa str @@ -91,7 +106,9 @@ If the function is successful, it increments the integer variable pointed to by .Fa len -and returns 0. +(unless +.Fa ch +was 0) and returns 0. Otherwise, it leaves the variables pointed to by .Fa str , .Fa size |