lib/getstr.c


Log

Author Commit Date CI Message
Jim Meyering fa31201f 2001-12-09T22:08:19 Don't include assert.h. (getstr): Remove warning-evoking assertions. Return -1 if offset parameter is out of bounds. Change the type of a local from int to size_t.
Jim Meyering 92f1833a 2001-11-17T13:29:42 Include unlocked-io.h.
Jim Meyering 2629f21b 2000-06-21T09:09:22 New file, extracted from getline.c, with the following changes: new parameter, delim2; both delim[12] parameters have type `int', not `char'. The latter would lose with 8-bit delimiters.