Guillem Jover
cb7bc0d85e
Add file buffer pool support to fgetln()
...
This avoids buffer overwrites during concurrent or intermixed calls to
fgetln() when using more than one different stream (currently 32), which
the original interface supports natively by using an internal buffer
from the FILE structure. Although this workaround is rudimentary, it
should cover most of the theoretically problematic cases.
2013-05-27 02:12:51 +02:00
Guillem Jover
1be0bdb2c9
Add new strnstr() function
...
Taken from FreeBSD.
2013-05-27 02:12:43 +02:00
Guillem Jover
3862764872
Coalesce identical BSD-2-clause licenses
2013-05-21 04:13:55 +02:00
Guillem Jover
e7f3976088
Add email address to my name
2012-05-29 04:51:45 +02:00
Guillem Jover
e59ac2c96c
Clarify that the 4-clause BSD licenses are only for man pages
2012-05-29 04:51:45 +02:00
Guillem Jover
d90ce079f7
Add new man pages for getprogname(3) and setprogname(3)
...
Taken from FreeBSD.
2012-05-29 04:51:16 +02:00
Guillem Jover
c1d086c224
Add new man page for setproctitle(3)
...
Taken from FreeBSD.
2012-05-29 04:51:16 +02:00
Robert Millan
4eab0cc351
Add inline endian encoding/decoding functions
...
Taken from FreeBSD.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
2012-05-29 04:51:09 +02:00
Robert Millan
6434858314
Add new expand_number() function
...
Taken from FreeBSD.
[guillem@hadrons.org:
- Include <stdint.h> in <bsd/libutil.h>. ]
Signed-off-by: Guillem Jover <guillem@hadrons.org>
2012-05-29 04:50:55 +02:00
Guillem Jover
943939d0e5
Add new closefrom() function
...
Code taken from sudo, man page from FreeBSD.
2012-05-29 04:36:23 +02:00
Guillem Jover
e80d338b18
Add a COPYING file to ease the distributors work
...
This file includes all the copyright and license notices from the source
code in a single place.
2011-06-02 19:20:55 +02:00