summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/strtol.3
Commit message (Collapse)AuthorAgeFilesLines
* Renumber clauses to reduce diffs to other versionsemaste2013-06-131-1/+1
| | | | | NetBSD, OpenBSD, and Android's Bionic number the clauses 1 through 3, so follow suit to make comparison easier.
* Swap "underflow"/"overflow" in the table header.ru2007-04-101-2/+2
| | | | | Submitted by: Ricardo Nabinger Sanchez MFC after: 3 days
* Per Regents of the University of Calfornia letter, remove advertisingimp2007-01-091-4/+0
| | | | | | clause. # If I've done so improperly on a file, please let me know.
* o .Xr strtonum(3).maxim2006-05-201-0/+1
| | | | MFC after: 1 week
* Especially mention that setting errno to EINVAL in "no conversion" caseache2005-01-221-2/+4
| | | | | | is not portable. Asked by: joerg
* Add cross-references to wide character versions of these functions.tjr2002-10-101-1/+2
|
* Style: One space between "restrict" qualifier and "*".tjr2002-09-061-3/+3
|
* - Add the 'restrict' qualifier to the function prototypes androbert2002-08-151-3/+3
| | | | | | | | definitions of the functions that convert strings to numbers and are defined by IEEE Std 1003-1.2001. - Use ANSI-C function definitions for all of the functions mentioned above plus strtouq and strtoq. - Update the prototypes in the manual pages.
* mdoc(7) police: fix markup, bump document date.ru2001-12-121-15/+18
|
* Implement strtoimax() and strtoumax()fenner2001-11-281-25/+37
|
* mdoc(7) police: changed pure POSIX text; added missing markup bits.ru2001-09-111-4/+6
|
* Move to using .In instead of .Fd #include <> for include mark-up.asmodai2001-09-071-5/+5
| | | | Inspired by comment from: dd
* Locale *is* used in strto*l*(), at least for isspace(), so removeache2001-09-041-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | '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. -----------------------------------------------------
* 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''
* Impliment the ISO-C99 strto[u]ll()obrien2001-02-271-3/+34
| | | | and rewrite strto[u]q() in terms of it.
* .St -ansiC -> .St -isoCru2001-02-261-1/+1
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-1/+1
|
* Prepare for mdoc(7)NG.ru2000-12-291-1/+0
|
* Use `Er' variable to define first column width in ERRORS section.phantom2000-05-061-1/+1
|
* Introduce ".Lb" macro to libc manpages.phantom2000-04-211-0/+2
| | | | More libraries manpages updates following.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Fixed missing consts in synopsis.bde1997-04-131-2/+2
|
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+168
OpenPOWER on IntegriCloud