aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/strtol.3
Commit message (Collapse)AuthorAgeFilesLines
* MFC: 1.23: Swap "underflow"/"overflow" in the table header.Ruslan Ermilov2007-04-131-2/+2
| | | | Notes: svn path=/stable/6/; revision=168678
* MFC rev. 1.21 strtol.3 and rev. 1.22 strtoul.3: .Xr strtonum(3).Maxim Konovalov2006-05-291-0/+1
| | | | Notes: svn path=/stable/6/; revision=159035
* Especially mention that setting errno to EINVAL in "no conversion" caseAndrey A. Chernov2005-01-221-2/+4
| | | | | | | | | is not portable. Asked by: joerg Notes: svn path=/head/; revision=140613
* Add cross-references to wide character versions of these functions.Tim J. Robbins2002-10-101-1/+2
| | | | Notes: svn path=/head/; revision=104751
* Style: One space between "restrict" qualifier and "*".Tim J. Robbins2002-09-061-3/+3
| | | | Notes: svn path=/head/; revision=103012
* - Add the 'restrict' qualifier to the function prototypes andRobert Drehmel2002-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. Notes: svn path=/head/; revision=101912
* mdoc(7) police: fix markup, bump document date.Ruslan Ermilov2001-12-121-15/+18
| | | | Notes: svn path=/head/; revision=87738
* Implement strtoimax() and strtoumax()Bill Fenner2001-11-281-25/+37
| | | | Notes: svn path=/head/; revision=87027
* mdoc(7) police: changed pure POSIX text; added missing markup bits.Ruslan Ermilov2001-09-111-4/+6
| | | | Notes: svn path=/head/; revision=83328
* Move to using .In instead of .Fd #include <> for include mark-up.Jeroen Ruigrok van der Werven2001-09-071-5/+5
| | | | | | | Inspired by comment from: dd Notes: svn path=/head/; revision=83206
* Locale *is* used in strto*l*(), at least for isspace(), so removeAndrey A. Chernov2001-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. ----------------------------------------------------- Notes: svn path=/head/; revision=82975
* Merge in strtoul.3 rev 1.11 mdoc(7) police changes:David E. O'Brien2001-02-281-2/+3
| | | | | | | | .Nd line broken in rev 1.10 use .Bx for ``BSD'' Notes: svn path=/head/; revision=73234
* Impliment the ISO-C99 strto[u]ll()David E. O'Brien2001-02-271-3/+34
| | | | | | | and rewrite strto[u]q() in terms of it. Notes: svn path=/head/; revision=73152
* .St -ansiC -> .St -isoCRuslan Ermilov2001-02-261-1/+1
| | | | Notes: svn path=/head/; revision=73088
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-011-1/+1
| | | | Notes: svn path=/head/; revision=71895
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-291-1/+0
| | | | Notes: svn path=/head/; revision=70481
* Use `Er' variable to define first column width in ERRORS section.Alexey Zelkin2000-05-061-1/+1
| | | | Notes: svn path=/head/; revision=60075
* Introduce ".Lb" macro to libc manpages.Alexey Zelkin2000-04-211-0/+2
| | | | | | | More libraries manpages updates following. Notes: svn path=/head/; revision=59460
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-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 Notes: svn path=/head/; revision=48794
* Fixed missing consts in synopsis.Bruce Evans1997-04-131-2/+2
| | | | Notes: svn path=/head/; revision=24880
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+168
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573