summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
Commit message (Collapse)AuthorAgeFilesLines
...
* Make this work on ia64. I have no idea why it works on alpha - itdfr2001-10-061-1/+7
| | | | shouldn't.
* Avoid getting stuck in system(3) when the internal call to wait4()alfred2001-10-031-2/+3
| | | | | | | | | | is interrupted by saving the pid. The old code would assign the return value to pid which would trash it, to fix the problem save a copy of the pid to be used as the paramter to wait4(). Submitted by: Toshihiko ARAI <toshi@jp.FreeBSD.org>
* mdoc(7) police: don't split author names in the AUTHORS section.ru2001-10-011-0/+1
|
* mdoc(7) police: s/atof/atoi/ru2001-10-011-1/+1
|
* Add ERRORS section.asmodai2001-09-261-1/+18
| | | | | | | | Mention thread safety and async-cancel safety status [not]. Add standards compliancy references. Note strtol() is preferred over atoi(). MFC after: 2 weeks
* Be explicit about the POSIX version it conforms to [in this case 1990].asmodai2001-09-261-5/+5
| | | | Put the error comment under the more appropriate ERRORS section.
* Change standards compliancy order so that C and POSIX are grouped.asmodai2001-09-261-1/+1
|
* style(9)mike2001-09-171-62/+56
| | | | Silence from: phantom
* mdoc(7) police: changed pure POSIX text; added missing markup bits.ru2001-09-112-8/+12
|
* Add more standards which we conform to.asmodai2001-09-091-1/+18
| | | | | | Note our implementation is not thread nor async-cancel safe. Explicitely note atof() does not check nor report errors. Note that strtod() should be used instead.
* Detail thread-safe and async-cancel-safe status.asmodai2001-09-091-0/+10
| | | | | | Also add C99 conformity status plus clarification that C99 leaves the flushing of unwritten data, closure of open streams, and removal of temporary files to the implementation.
* Move to using .In instead of .Fd #include <> for include mark-up.asmodai2001-09-0727-39/+39
| | | | Inspired by comment from: dd
* reconnect strfmon.c to build listphantom2001-09-071-1/+1
|
* Fix some mdoc nits caused by my knowledge not being too up-to-date onasmodai2001-09-071-9/+12
| | | | | | mdocNG. Submitted by: dd
* Port to ia64, taking into account the fact that pagesizes may be variable.dfr2001-09-071-0/+11
|
* Add strfmon.3 to the fray.asmodai2001-09-072-1/+89
| | | | | | | | This is a first cut, but enough to help people interested in using it further than before. More text coming to illustrate use and provide more details. Based on standards' text.
* correctly wrap macros with { }phantom2001-09-061-2/+3
|
* strfmon(3) is not ready to go live.obrien2001-09-061-1/+1
|
* Add strfmon(3) implementation. It still contains few XXX's because I lostphantom2001-09-052-3/+618
| | | | | | | | | my last version of this work due to HDD crash, but this version cleanly passed all POSIX and SuSv2 tests. I am working on testing scripts which should test this implementation against all locales and surely more fixes will come soon. Reviewed by: ache, silence at -audit & -developers
* Portability fix: use unsigned cast to guaranteed positive part of expressionache2001-09-042-2/+2
| | | | | in case {L}LONG_MAX > abs({L}LONG_MIN). Non-functional change - we don't have any such platforms.
* Remove rcsids and unneded includeache2001-09-046-34/+12
|
* 'acc' is not initialized in one hypotetical case, fix itache2001-09-044-8/+8
|
* Locale *is* used in strto*l*(), at least for isspace(), so removeache2001-09-048-58/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'locale not used' statement from comments and BUGS section of manpage. strtol(): fix non-portable 'cutoff' calculation using the same method as in strtoll(). Cleanup 'cutoff' calculation, remove unneded casts. Misc. cleanup to make all functions looks the same. Implement EINVAL reaction per POSIX, document it in manpage, corresponding POSIX example quotes here: ------------------------------------------------ If the subject sequence is empty or does not have the expected form, no conversion is performed; the value of str is stored in the object pointed to by endptr, provided that endptr is not a null pointer. If no conversion could be performed, 0 shall be returned and errno may be set to [EINVAL]. [EINVAL] The value of base is not supported. Since 0, {LONG_MIN} or {LLONG_MIN}, and {LONG_MAX} or {LLONG_MAX} are returned on error and are also valid returns on success, an application wishing to check for error situations should set errno to 0, then call strtol( ) or strtoll ( ), then check errno. -----------------------------------------------------
* Use ``.Rv -std'' wherever possible.ru2001-08-312-16/+2
| | | | Submitted by: yar
* If the string specifying the allowed options starts with a leading `:',jkoshy2001-08-161-5/+2
| | | | | | | | `getopt(3)' should not print a warning for missing argument values. PR: bin/29625 Reviewed by: mikeh MFC after: 1 week
* Fixed style bugs (dot `.' at the end of error and warning messages).ru2001-08-101-22/+22
| | | | Noticed by: bde
* Markup nits: use diagnostic type lists for error and warning messages.ru2001-08-101-21/+17
| | | | | | | | Backout previous revision. We should not expand plain text xrefs if they appear in the literal text, e.g. in the error or warning message of the library function. (Submitted by: bde) Moved "out of memory" from warning to errors section.
* Use the ``.Rv -std'' mdoc(7) macro in appropriate cases.yar2001-08-091-4/+1
| | | | Reviewed by: ru
* mdoc(7) police: expand plain text xrefs.ru2001-08-082-2/+6
|
* Only pull in the MD files if they exist. This allows for progressivemp2001-07-311-0/+2
| | | | implementation and compilation when bringing up a new architecture.
* Remove whitespace at EOL.dd2001-07-1514-35/+35
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-105-5/+5
|
* mdoc(7) police: eliminate -ww warnings.ru2001-07-091-2/+2
|
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-092-2/+0
|
* mdoc(7) police: mark NULL with .Dv.ru2001-07-041-8/+24
|
* mdoc(7) police: the BUGS section should go after HISTORY and AUTHORS.dd2001-06-241-6/+6
|
* The fact that phk wrote this is not a bug!dd2001-06-241-5/+2
|
* Reword a sentence to make it proper English.dd2001-06-241-1/+1
|
* urandom(4) -> random(4) in comments.dd2001-06-072-2/+2
| | | | | | | PR: 27858 Submitted by: Yoshihiro Koya <Yoshihiro.Koya@math.yokohama-cu.ac.jp> Reviewed by: md5(1) Approved by: markm
* urandom(4) -> random(4)dd2001-06-072-4/+4
| | | | | | PR: 27858 Submitted by: Yoshihiro Koya <Yoshihiro.Koya@math.yokohama-cu.ac.jp> Approved by: markm
* Add new, from scratch implementation of hsearch() et al that actually works.ru2001-05-153-3/+394
| | | | | Obtained from: NetBSD MFC after: 1 month
* Grammar nit.ru2001-04-271-1/+1
|
* Add sranddev.3 to MLINKSache2001-04-231-1/+1
|
* Add #include "un-namespace.h"ache2001-04-231-0/+1
|
* srand*dev() fallback code: change ^getpid() to ^(getpid() << 16) to allowache2001-04-232-2/+2
| | | | change of high word part too to produce more interesting seed distribution.
* Add sranddev() since srand() is not vary much with seed, typical timeache2001-04-232-1/+46
|
* MAN[1-9] -> MAN.ru2001-03-271-1/+1
|
* Make tdelete(3), tfind(3), and twalk(3) links to tsearch(3).dd2001-03-151-0/+1
| | | | Approved by: nik
* Merge in strtoul.3 rev 1.11 mdoc(7) police changes:obrien2001-02-281-2/+3
| | | | | .Nd line broken in rev 1.10 use .Bx for ``BSD''
* mdoc(7) police: fix the .Nd line broken in previous revision.ru2001-02-281-2/+3
| | | | | | Noticed by: bde Use .Bx for ``BSD''.
OpenPOWER on IntegriCloud