summaryrefslogtreecommitdiff
path: root/lib/getstr.c
AgeCommit message (Collapse)Author
2001-12-09Don't include assert.h.Jim Meyering
(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.
2001-11-17Include unlocked-io.h.Jim Meyering
2000-06-21New file, extracted from getline.c, with the followingJim Meyering
changes: new parameter, delim2; both delim[12] parameters have type `int', not `char'. The latter would lose with 8-bit delimiters.