From f05ec714bf71c664cdf139fab5fa78a867ad1e5d Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 5 Jul 2012 22:11:34 -0500 Subject: [PATCH] document the append parameter to sv_gets [perl #72244] --- sv.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sv.c b/sv.c index e076ae4..a67368e 100644 --- a/sv.c +++ b/sv.c @@ -7611,7 +7611,10 @@ S_sv_gets_read_record(pTHX_ SV *const sv, PerlIO *const fp, I32 append) =for apidoc sv_gets Get a line from the filehandle and store it into the SV, optionally -appending to the currently-stored string. +appending to the currently-stored string. If C is not 0, the +line is appended to the SV instead of overwriting it. C should +be set to the byte offset that the appended string should start at +in the SV (typically, C is a suitable choice). =cut */ -- 1.8.3.1