37 Commits

Author SHA1 Message Date
Guillem Jover
28585a58bd Add fpurge function 2011-05-16 13:23:17 +02:00
Guillem Jover
4c01261f39 Move each version symbol declaration into its own line 2011-05-14 13:43:49 +02:00
Guillem Jover
4b95e82a32 Add new radixsort and sradixsort functions
Taken from FreeBSD.
2011-05-14 13:43:48 +02:00
Guillem Jover
be6ab54986 Add new mergesort function
Taken from FreeBSD.
2011-05-14 13:43:48 +02:00
Guillem Jover
5b19adfa82 Add getpeereid function 2011-05-14 13:43:41 +02:00
Aurelien Jarno
acb7c42d7c Add reallocf function 2011-02-23 14:44:37 +01:00
Guillem Jover
d63e081303 Add arc4random_buf and arc4random_uniform functions
Update arc4random module from FreeBSD.
2010-01-10 15:29:50 +01:00
Guillem Jover
3fed78e5b0 Replace setproctitle dummy macro with a function stub
This way we can replace it later on with a real implementation so that
applications can immediately benefit from it w/o the need to recompile
them.
2010-01-10 15:29:50 +01:00
Guillem Jover
2a81893cc0 Add pidfile functions
Taken from FreeBSD.

Remove MAXPATHLEN from ‘struct pidfh’ and allocate pf_path dynamically,
as some systems do not have such limits. Use dev_t instead of __dev_t.
Replace EDOOFUS with EINVAL.
2010-01-10 15:29:46 +01:00
Guillem Jover
98a2479f0b Add flopen function
Taken from FreeBSD.
2010-01-10 13:36:38 +01:00
Guillem Jover
4d17a18db5 Deprecate <bsd/inet.h>
The only function declared in that header file was inet_net_pton, which
is already provided by glibc. Will be removed on the next SONAME bump.
2009-12-12 01:11:08 +01:00
Guillem Jover
7da57b293f Remove traces of fgetwln, it was never included
This function was exposed in the header file and the versioning symbol
file, but the actual code was never here.
2009-12-12 01:11:08 +01:00
Guillem Jover
c5398adfe2 Add readpassphrase function
Taken from OpenBSD.
2009-12-10 20:54:03 +01:00
Guillem Jover
538bc87998 Add dehumanize_number function
Taken from NetBSD.
2009-12-10 20:54:00 +01:00
Guillem Jover
04250f6a7c Add strnvis and strnunvis functions
Taken from OpenBSD.
2009-10-24 01:47:26 +02:00
Guillem Jover
56ddcfe65a Add strtonum function
Taken from FreeBSD.
2009-10-24 01:11:23 +02:00
Guillem Jover
dcaec44a6f Add nlist function 2009-05-20 04:14:19 +02:00
Guillem Jover
8dbfb3529b Add strmode function 2009-05-20 04:14:07 +02:00
Guillem Jover
84d311d038 Remove link_addr and link_ntoa symbols from the version script 2008-07-09 09:07:58 +03:00
Guillem Jover
38829bdc8b Add new setmode and getmode functions from FreeBSD 2008-07-09 09:07:03 +03:00
Guillem Jover
bf4eeb29f0 Add arc4random_stir and arc4random_addrandom functions 2008-06-18 08:44:18 +03:00
Guillem Jover
b37f1039ef Replace current md5 code with one from MirBSD and OpenBSD
This adds the following public functions:
MD5Transform, MD5End, MD5File, MD5FileChunk, MD5Data
2008-06-18 08:19:41 +03:00
Aurelien Jarno
2ef27385c5 link_addr: New function 2008-05-06 08:56:37 +03:00
Petr Salinger
30176335f9 humanize_number: New function 2008-05-06 08:56:37 +03:00
Robert Millan
3462d1261f Add heapsort 2008-05-06 08:54:07 +03:00
Robert Millan
40bb012fee Add vis and unvis 2008-05-06 08:52:46 +03:00
Robert Millan
5bd834027d Add getprogname and setprogname 2008-05-06 08:52:15 +03:00
Guillem Jover
8a2e8584d9 Revert 39db45e45a8d49a92d1d897a532e48480e561f75 2008-05-06 08:51:24 +03:00
Guillem Jover
39db45e45a Remove optreset 2008-05-06 08:50:35 +03:00
Robert Millan
7aed0593e0 Add bsd_getopt 2008-05-06 08:50:26 +03:00
Robert Millan
019b5818da Revert c849ba32af231fba36f4500d0d3290821f4dd7b7
Will use bsd_getopt() wrapper instead.
2008-05-06 08:49:44 +03:00
Robert Millan
c849ba32af reset_getopt: New function (borrowed from e2fsprogs) 2008-05-06 08:48:21 +03:00
Robert Millan
33eb3ecc41 Add errc, warnc, verrc and vwarnc 2008-05-06 08:47:26 +03:00
Aurelien Jarno
dedb8169c4 Added manpages and fixed fmtcheck 2008-05-06 08:47:20 +03:00
Aurelien Jarno
91473e2748 fmtcheck: New function 2008-05-06 08:45:48 +03:00
Guillem Jover
3bd2ba1a90 Versions: Add MD5Init, MD5Update, MD5Pad and MD5Final to LIBBSD_0.0 2008-05-06 08:44:20 +03:00
Guillem Jover
aa605d5f86 Add versioned symbols support 2008-05-06 08:42:46 +03:00