Note some restrictions for getdelim arguments noted by joerg.

Bump date.
This commit is contained in:
wiz 2009-08-25 16:28:26 +00:00
parent 78569b98fc
commit 0e46e32aae

View File

@ -1,4 +1,4 @@
.\" $NetBSD: getdelim.3,v 1.2 2009/07/13 22:30:52 wiz Exp $
.\" $NetBSD: getdelim.3,v 1.3 2009/08/25 16:28:26 wiz Exp $
.\"
.\" Copyright (c) 2009 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd July 12, 2009
.Dd August 25, 2009
.Dt GETDELIM 3
.Os
.Sh NAME
@ -69,6 +69,13 @@ is large enough to hold the input, updating
.Fa *n
to reflect the new size.
.Pp
.Fa delimiter
must be representable as an unsigned char, and
.Fa *lineptr
must be a
.Xr free(3) Ns No able
buffer.
.Pp
.Fa getline
is equivalent to
.Fa getdelim