summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/strtouq.c
Commit message (Collapse)AuthorAgeFilesLines
* Per Regents of the University of Calfornia letter, remove advertisingWarner Losh2007-01-091-4/+0
| | | | | | | | | clause. # If I've done so improperly on a file, please let me know. Notes: svn path=/head/; revision=165903
* - Add the 'restrict' qualifier to the function prototypes andRobert Drehmel2002-08-151-4/+1
| | | | | | | | | | | 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
* Fix the style of the SCM ID's.David E. O'Brien2002-03-221-2/+2
| | | | | | | I believe have made all of libc .c's as consistent as possible. Notes: svn path=/head/; revision=92986
* Understand national (non-ASCII) digits nowAndrey A. Chernov2001-11-281-3/+0
| | | | | | | | Allow bases >=36 again Misc cleanup Notes: svn path=/head/; revision=87016
* Remove rcsids and unneded includeAndrey A. Chernov2001-09-041-5/+2
| | | | Notes: svn path=/head/; revision=82995
* Locale *is* used in strto*l*(), at least for isspace(), so removeAndrey A. Chernov2001-09-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '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
* I accidently deleted an include when I added the $FreeBSD$ so I couldDavid E. O'Brien2001-02-271-0/+2
| | | | | | | check in my changes. Notes: svn path=/head/; revision=73155
* Impliment the ISO-C99 strto[u]ll()David E. O'Brien2001-02-271-63/+6
| | | | | | | and rewrite strto[u]q() in terms of it. Notes: svn path=/head/; revision=73152
* General -Wall warning cleanup, part I.Jordan K. Hubbard1996-07-121-1/+1
| | | | | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu> Notes: svn path=/head/; revision=17141
* Similar changes like in strtol, all this family is VERY brokenAndrey A. Chernov1995-08-011-1/+3
| | | | | | | in 8bit environment (isalpha at the end of digits) Notes: svn path=/head/; revision=9845
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-1/+1
| | | | Notes: svn path=/head/; revision=8870
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+114
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573