summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-05-15Change fgetln to return the correct length valueGuillem Jover1-8/+9
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>
2008-07-12Use sigprocmask instead of _sigprocmaskGuillem Jover1-2/+2
2008-07-09Add new setmode and getmode functions from FreeBSDGuillem Jover1-0/+444
2008-07-09fgetln: Fix coding styleGuillem Jover1-3/+3
2008-07-09fgetln: Fix function to make it actually workGuillem Jover1-6/+4
Reported by Thorsten Glaser.
2008-07-09Ansify function argumentsGuillem Jover1-4/+2
2008-07-09Renumber 4th clause from BSD license to 3rdGuillem Jover3-3/+3
Those files have only three clauses.
2008-06-18Remove link_addr and link_ntoa functionsGuillem Jover1-156/+0
The address familiy used is kernel dependent, so the application will have to be ported regardless.
2008-06-18Add arc4random_stir and arc4random_addrandom functionsGuillem Jover1-0/+28
2008-06-18Replace current md5 code with one from MirBSD and OpenBSDGuillem Jover5-359/+349
This adds the following public functions: MD5Transform, MD5End, MD5File, MD5FileChunk, MD5Data
2008-06-18Add license headerGuillem Jover1-0/+26
With Hector's agreement.
2008-06-13Sync humanize_number from NetBSDGuillem Jover1-2/+7
Add the missing man page.
2008-06-13Convert TNF licenses to new 2 clause variantGuillem Jover2-14/+0
This follows NetBSD upstream: <http://mail-index.netbsd.org/source-changes/2008/04/30/msg005553.html>
2008-05-06Add license headerRobert Millan1-0/+26
2008-05-06Relicense err.c and progname.c to avoid trouble with 4-clause BSD codeRobert Millan2-32/+50
2008-05-06Remove UC Berkeley advertising clauseGuillem Jover4-16/+0
As per <ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change>.
2008-05-06link_addr: New functionAurelien Jarno1-0/+160
2008-05-06humanize_number: New functionPetr Salinger1-0/+145
2008-05-06Revert 1d87476250217a87319df48a8f473415c0515106Robert Millan1-9/+3
2008-05-06Duplicate setprogname argumentRobert Millan1-3/+9
For some reason, accessing the argv vector directly may cause SIGSEV.
2008-05-06Add heapsortRobert Millan1-0/+179
2008-05-06Fix some c++ismsAurelien Jarno2-3/+5
2008-05-06Directly call the function fmtcheck instead of using __weak_referenceAurelien Jarno1-2/+2
2008-05-06Add vis and unvisRobert Millan2-0/+490
2008-05-06Fix syntax errorRobert Millan1-2/+2
2008-05-06Initialize __progname as NULLRobert Millan1-1/+1
2008-05-06Add getprogname and setprognameRobert Millan1-0/+36
2008-05-06Move sources to src/Guillem Jover10-0/+1278