|
94fe901e
|
2011-05-14T18:12:48
|
|
Abort compilation if fgetln cannot be wrapped
|
|
abe0a4a7
|
2010-01-10T11:02:13
|
|
Reformat code to KNF
|
|
c17c7e13
|
2009-12-10T18:07:25
|
|
Expand on API guarantee for fgetln
OpenBSD has begun using the API guarantee that *len is not 0 if
the fgetln(3) return value is not NULL; document this explicitly
in the manpage and add a comment to the function implementation
that this doesn’t need to be checked because getdelim/getline have
similar guarantees.
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
|
|
1f0b016e
|
2009-05-20T04:20:21
|
|
Use UTF-8 copyright symbols for non-imported files
|
|
74ae34e7
|
2009-05-15T21:26:09
|
|
Fix buffer leaks in fgetln
Cache the size and the buffer allocated by getline as static variables.
|
|
deb9f56c
|
2009-05-15T21:23:03
|
|
Change fgetln to return the correct length value
Set len to 0 on error conditions to mimmic FreeBSD behaviour, and return
the amount of read characters on success, instead of the allocated size
by getline.
Reported-by: Jief L. <jief1.l@gmail.com>
|
|
fafffd1f
|
2008-07-09T08:26:07
|
|
fgetln: Fix coding style
|
|
47109e39
|
2008-07-09T08:22:30
|
|
fgetln: Fix function to make it actually work
Reported by Thorsten Glaser.
|
|
da92787d
|
2008-07-09T07:46:23
|
|
Ansify function arguments
|
|
d699e4bc
|
2008-06-18T08:05:23
|
|
Add license header
With Hector's agreement.
|
|
5372b736
|
2006-02-14T05:39:29
|
|
Move sources to src/
|