summaryrefslogtreecommitdiff
path: root/src/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Do not clobber errno when calling close(2) in example code.otto2005-11-151-2/+6
| | | | From form@ via mpech@
* Use a forward declaration of struct timespec instead of assumingmillert2005-11-151-1/+2
| | | | | | it has already been defined by previous includes. While this is true at the moment, it will no longer be true after a pending includes cleanup. OK marc@
* save errno in example code. from mpech@ ok jmc@otto2005-11-131-1/+3
|
* add $OpenBSD$ tags, as requested by dtucker.espie2005-11-102-0/+2
|
* Activate missing wcswidth, as noted by Alexander Bluhm.espie2005-10-291-2/+2
| | | | | okay deraadt@, otto@ Minor bump (nobody stepped forward with other changes, so let's do this one)
* Remove obsolete comment. ok deraadt@otto2005-10-261-5/+1
|
* clarifications from ray lai;jmc2005-10-261-3/+5
| | | | tweaked by tedu@ and myself;
* dont' -> don't in comments;jmc2005-10-251-2/+2
| | | | from ray lai;
* tidy up examplesjaredy2005-10-113-17/+16
| | | | | | | | - use err() for error handling - add lint hints - spacing nits and missing braces ok otto
* fix a few warnings, keep the crypt stuff for later.espie2005-10-101-2/+2
| | | | okay otto@
* Remove a few warnings. Those were not apparent thanks to a bug in gcc 2.95.espie2005-10-101-3/+3
| | | | | Patch by Leonardo Chiquitto Filho <leonardo@iken.com.br> Thanks.
* further knf and cleaning; ok tdevalderaadt2005-10-051-382/+364
|
* first KNF (no binary diffs)deraadt2005-10-051-1322/+1356
|
* `ether_addr' is the name of a structure, not a function: remove its MLINKjmc2005-10-022-4/+3
| | | | and remove its entry from the .Nm list;
* add bf_{ecb,cbc}_{en,de}crypt to the .Nm list;jmc2005-10-021-2/+6
|
* add bcrypt_gensalt, bcrypt, and md5crypt, to the .Nm list;jmc2005-10-021-2/+5
|
* spelling: you missed this one david ;)jmc2005-08-221-2/+2
|
* uncomment setlocale(3) entry;jmc2005-08-121-2/+2
|
* zap remaining rcsid.espie2005-08-08116-663/+111
| | | | | | Kill old files that are no longer compiled. okay theo
* activate LC_CTYPE for 8 bits locale.espie2005-08-084-11/+18
| | | | | | | Make sure tolower/toupper use the whole 8 bits. okay deraadt@ thanks to everyone who tested
* move non-standard COMPATIBILITY section to HISTORY, which seems morejmc2005-08-071-10/+10
| | | | | | relevant anyway; ok jaredy@
* zap rcsid.espie2005-08-0647-375/+234
| | | | | | | split functions off res_debug.c so that getnetnamadr.c does not pull it all when it's used. okay deraadt@, krw@
* tell people that atexit is bad; ok jmcderaadt2005-08-061-1/+7
|
* add HISTORY; ok jmcjaredy2005-08-061-1/+8
|
* - macro, punctuation, and rewording tweaksjaredy2005-08-064-18/+21
| | | | | | - avoid first person. ok jmc
* sync function prototypes to reality; ok jmcjaredy2005-08-061-4/+5
|
* Restore recent changes except for the actual one that causes the problem.millert2005-07-271-20/+8
|
* backout gethostent changes for now -- there is fallout, discovered by ottojaredy2005-07-271-10/+22
|
* kill errant blank line;jmc2005-07-261-2/+1
|
* - typos, punctuation, layout, macro tweaksjaredy2005-07-269-34/+48
| | | | | | - break long lines ok jmc
* - typos, grammar, punctuation, layout tweaksjaredy2005-07-261-74/+156
| | | | | | | | - use `$' for command prompts - clean up: use a bullet list instead of adding junk to denote list items ok jmc
* provide a description of the EXAMPLE; ok jmcjaredy2005-07-261-2/+11
|
* note when these first appeared; ok jmcjaredy2005-07-261-1/+3
|
* In _gethtent() ignore host.h_length if it is set to 0. Previouslymillert2005-07-241-10/+7
| | | | | | we only ignored it if host.h_addrtype was AF_UNSPEC. Set host.h_length to 0 in _gethtbyname2() since that function does not take a length argument. Problem found by jaredy@
* *hostent() fixes:jaredy2005-07-231-22/+13
| | | | | | | | | | | | - Make _gethtent() static - _gethtbyname() is dead code (succeeded by _gethtbyname2), kill it - _gethtent() requires setting the address family field of the file-scope variable `host' to that of the desired type of the entry being searched for. Change the behavior to enforce this if it is not AF_UNSPEC, which will now allow stepping through entries, and set it to specific values everywhere else. help & ok millert
* - sync prototypes and header file excerptsjaredy2005-07-2213-102/+116
| | | | | | - typos/spelling, punctuation, rewording, macro, and layout fixes. help & ok jmc
* fix spelling mistake (in comment);jmc2005-07-181-2/+2
| | | | from ray lai;
* punctuation and minor rewording, ok jmcjaredy2005-07-172-6/+6
|
* kill errant full stop;jmc2005-07-071-2/+2
|
* got to be a pasto...jmc2005-07-071-4/+4
|
* Fix the unmapping of freed pages, leaving just 64k worth of cache pages.tdeval2005-07-071-58/+136
| | | | Prodded by art@ and fgsch@, ok deraadt@
* use "www" as the service name in the example instead of "http" since "www"dlg2005-07-051-5/+5
| | | | | | is what is used in /etc/services. ok jmc@ henning@ millert@
* whitespace;jmc2005-07-011-4/+4
|
* More robust example of numeric argument handling. The old examplemillert2005-07-011-11/+23
| | | | | code would dereference NULL for mixed letter and number args. OK deraadt@
* K&R -> ANSIespie2005-06-1922-120/+79
| | | | | APIWARN okay millert@, otto@
* Remove a check about whether sa->sa_len is equal to salen frommarcm2005-06-191-4/+1
| | | | | | | getnameinfo(3). POSIX doesn't require this and it breaks code that doesn't handle it. "I think this is safe" millert@
* no longer a need for the free(malloc(1)) hack, because the brk stuffderaadt2005-06-171-9/+5
| | | | | no longer needs initializing (we use mmap for malloc entirely now) noticed by kjell, ok dhartmei, tested by me
* remove netns stuff, ok millerthenning2005-06-175-459/+4
| | | | libc major bump by espie in a few
* bye bye whiteoutsmillert2005-06-152-9/+2
|
* remove references to ns(4);jmc2005-06-091-2/+1
|