<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/stdlib/strtol.3, branch release/5.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F5.4.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F5.4.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2005-01-29T03:44:54Z</updated>
<entry>
<title>MFC: fix EINVAL settings for 0x and document nonportability</title>
<updated>2005-01-29T03:44:54Z</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>2005-01-29T03:44:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c68c60b13cb7c84640bbae41b6a1addcb81fb297'/>
<id>urn:sha1:c68c60b13cb7c84640bbae41b6a1addcb81fb297</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add cross-references to wide character versions of these functions.</title>
<updated>2002-10-10T04:31:57Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2002-10-10T04:31:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ecab372b7e4f34c2505b34be8864b4b3286dc698'/>
<id>urn:sha1:ecab372b7e4f34c2505b34be8864b4b3286dc698</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Style: One space between "restrict" qualifier and "*".</title>
<updated>2002-09-06T11:24:06Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2002-09-06T11:24:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=58d38e25205c6ee5ef0796ffa2cd8e2ca6c6e7f3'/>
<id>urn:sha1:58d38e25205c6ee5ef0796ffa2cd8e2ca6c6e7f3</id>
<content type='text'>
</content>
</entry>
<entry>
<title> - Add the 'restrict' qualifier to the function prototypes and</title>
<updated>2002-08-15T09:25:04Z</updated>
<author>
<name>Robert Drehmel</name>
<email>robert@FreeBSD.org</email>
</author>
<published>2002-08-15T09:25:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5618f72405ba7a6b9d960d494f9db670ba994b3f'/>
<id>urn:sha1:5618f72405ba7a6b9d960d494f9db670ba994b3f</id>
<content type='text'>
   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.
</content>
</entry>
<entry>
<title>mdoc(7) police: fix markup, bump document date.</title>
<updated>2001-12-12T14:53:51Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2001-12-12T14:53:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f7475de715f2037f1af3246efe1b2ff090784d33'/>
<id>urn:sha1:f7475de715f2037f1af3246efe1b2ff090784d33</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement strtoimax() and strtoumax()</title>
<updated>2001-11-28T03:37:06Z</updated>
<author>
<name>Bill Fenner</name>
<email>fenner@FreeBSD.org</email>
</author>
<published>2001-11-28T03:37:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9c5cbc30e7062561affda0e5413f6db27a83b27e'/>
<id>urn:sha1:9c5cbc30e7062561affda0e5413f6db27a83b27e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mdoc(7) police: changed pure POSIX text; added missing markup bits.</title>
<updated>2001-09-11T09:39:23Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2001-09-11T09:39:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8fc5ce4d99e3ec8e9d7591a23c14ab66544767cf'/>
<id>urn:sha1:8fc5ce4d99e3ec8e9d7591a23c14ab66544767cf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move to using .In instead of .Fd #include &lt;&gt; for include mark-up.</title>
<updated>2001-09-07T14:46:36Z</updated>
<author>
<name>Jeroen Ruigrok van der Werven</name>
<email>asmodai@FreeBSD.org</email>
</author>
<published>2001-09-07T14:46:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8aefde060768b2636e1e9a842692cec605960985'/>
<id>urn:sha1:8aefde060768b2636e1e9a842692cec605960985</id>
<content type='text'>
Inspired by comment from:	dd
</content>
</entry>
<entry>
<title>Locale *is* used in strto*l*(), at least for isspace(), so remove</title>
<updated>2001-09-04T16:39:11Z</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>2001-09-04T16:39:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4e6b1570629ce55fb6038c1d7ea2400c0a47a8a4'/>
<id>urn:sha1:4e6b1570629ce55fb6038c1d7ea2400c0a47a8a4</id>
<content type='text'>
'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.
-----------------------------------------------------
</content>
</entry>
<entry>
<title>Merge in strtoul.3 rev 1.11 mdoc(7) police changes:</title>
<updated>2001-02-28T17:46:56Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2001-02-28T17:46:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=083745b549fb30332939ffa2a02be92db9204bd9'/>
<id>urn:sha1:083745b549fb30332939ffa2a02be92db9204bd9</id>
<content type='text'>
	.Nd line broken in rev 1.10
	use .Bx for ``BSD''
</content>
</entry>
</feed>
