summaryrefslogtreecommitdiff
path: root/src/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* An optional argument cannot start with '-', even if permutation ismillert2004-06-031-4/+5
| | | | disabled. Magne Oestlyngen.
* improved man page, with example and error strings, suggested by deraadt@tedu2004-05-061-36/+56
| | | | man help jmc@
* typo; sq@oganer.netderaadt2004-05-061-2/+2
|
* sort SEE ALSO;jmc2004-05-041-2/+2
|
* Be smarter about signed vs. unsigned (produces better error messages).millert2004-05-031-2/+2
| | | | OK otto@
* Missed this in the __strerror() removal.millert2004-05-031-2/+2
|
* No longer need __strerror(3) now that we use strerror_r() inside libc.millert2004-05-031-46/+0
|
* Add _Exit(3) as per C99. Discussed with espie@ some time ago.millert2004-05-033-12/+64
|
* typo spotted by grangetedu2004-05-031-2/+2
|
* strtonum, a nicer version of strtoll, by millert and myself.tedu2004-05-033-2/+191
| | | | ok deraadt@ millert@
* Do a better job of documenting strerror_r() and add an ERRORS section.millert2004-05-031-15/+43
|
* build the error message in strerror_r.c directly, avoiding one copy there.espie2004-05-033-120/+109
| | | | | | | | handle a few subtle details caught by the regression tests: correct termination, non copying if buffer length == 0, errno setting. let all former users of __strerror go through strerror_r. Work by Todd Miller and I. Okay millert@.
* let __strerror fill precisely the part of the buffer it can.espie2004-05-011-17/+18
| | | | okay millert@
* Let __strerror work by fixing a number of problems. Work by tholo and I,espie2004-04-301-22/+52
| | | | | | | | okay millert@. - atoi was bogus. - atoi was not reentrant. - there's no reason to cast stuff to unsigned int.
* more display/list fixes, and a little whitespace;jmc2004-04-161-2/+1
|
* remove references to rfc 2553, since 3493 obsoletes it;jmc2004-04-141-11/+2
| | | | ok itojun@
* implement RFC3493 AI_NUMERICSERV. tedu okitojun2004-04-142-47/+40
|
* Clean up malloc_active state when aborting.tdeval2004-04-121-3/+5
| | | | | | | This allows for safe abort handling, without tripping into false recursivity problems. Ok tedu@, deraadt@
* some of these functions are prototyped in pwd.h; ok deraadt@djm2004-04-061-1/+2
|
* let rcmdsh work on hosts that don't have an ipv4 address.marc2004-04-011-3/+4
| | | | If it works it is fine with me -- millert@
* remove some weirdness;jmc2004-03-141-2/+1
|
* fix formatting, Pedro Martellettotedu2004-03-021-3/+3
|
* do not recommend a format string error..; pbastos@rdc.puc-rio.brderaadt2004-03-011-3/+3
|
* Sanity fix.tdeval2004-02-191-2/+5
| | | | reviewed by deraadt@, tedu@
* remove redundant code, u_int8_t cannot be > 0xffotto2004-02-161-16/+2
| | | | ok deraadt@ millert@
* kill memory.3;jmc2004-02-102-66/+1
| | | | suggested by deraadt@
* add MLINKS for 64-bit functions in byteorder(3);jmc2004-02-101-4/+6
| | | | passes miod's "make sure it doesn't break libc or libpthread" test;
* make Nm match Dt;jmc2004-02-101-10/+2
|
* make Nm match Dt; found by pb@jmc2004-02-091-23/+2
| | | | some of this ok espie@, all of it ok deraadt@
* punctuate variable; okay jmc@.espie2004-02-091-2/+2
|
* Traditionally, getopt(3) has treated "--foo" the same as "--". However,millert2004-02-041-10/+9
| | | | | | | | this can cause confusion when a user tries to use a long option with a program that only supports short options. Furthermore, it appears to be in violation of POSIX, which states that "--" shall indicate the end of argument processing, not any string that begins with "--". OK otto@ and closes PR 3666.
* H comes before J;jmc2004-02-041-6/+6
|
* Obsoleted by getopt_long.cmillert2004-02-031-116/+0
|
* Correct the arm ifdefs previously inserted, is working correctly now.drahn2004-02-031-3/+3
|
* 'F'reeguard doc, as reported missing by brad. nit free thanks to jmctedu2004-02-021-1/+8
|
* Add const type qualifier. ok jmc@nordin2004-02-012-4/+4
|
* s/arm32/arm/ with VFP bit to match netbsd.drahn2004-02-011-3/+3
|
* the rest of the libs stuff; from art@ againmickey2004-01-281-2/+3
|
* use new .St macro;jmc2004-01-253-5/+5
|
* `Ns' implies `No', so `Ns No' -> `Ns'; (even simpler in adduser(8))jmc2004-01-235-10/+10
| | | | discussed with todd@
* Call _exit() not exit() from abort() if we are unable to kill ourselvesmillert2004-01-201-3/+3
| | | | | to avoid flushing stdio twice. This code path should never really happen though. Also make the function declaration ANSI. OK deraadt@
* Fix the example code. The loop invariant 'i' was not bound by MAXTOKENSmillert2004-01-201-3/+3
| | | | | which could result in writing a NUL byte outside of tokens[]. A fix, from Patrick Latifi, is to move the increment into the "i < MAXTOKENS - 1" block.
* - Rename index to longindex and explain its use.fgsch2004-01-061-9/+20
| | | | | | | | - Talk about zeroing the last element of the longopts array. - Remove '?' from the switch and some KNF to the code. - Change 0's to NULL where appropriate. jmc@ ok.
* sync protos with <netdb.h>;jmc2003-12-301-3/+3
| | | | from Andrey Matveev;
* niels kindly dropped clause 3/4 from the license. tnx!itojun2003-12-121-6/+1
|
* we can skip arc4random() call here. markusitojun2003-12-121-2/+2
|
* correct non-repetitive ID code, based on comments from niels provos.itojun2003-12-101-12/+16
| | | | | | - seed2 is necessary, but use it as "seed2 + x" not "seed2 ^ x". - skipping number is not needed, so disable it for 16bit generator (makes the repetition period to 30000)
* Discard first 256 bytes of keystream, as per recommendation indjm2003-11-261-1/+10
| | | | | "Weaknesses in the Key Scheduling Algorithm of RC4", Fluhrer, Mantin and Shamir. ok itojun@
* wording improvements from Brian Poole;jmc2003-11-251-5/+4
| | | | kill a .Pp before a display;
* only whine about recursion once, so we don't get into problems with loops.tedu2003-11-191-19/+26
|