<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/string/strerror.3, branch release/6.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F6.0.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F6.0.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2005-11-03T00:35:26Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2005-11-03T00:35:26Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2005-11-03T00:35:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3640cb54210edbb7edbf1b12ef0127ecfcea967d'/>
<id>urn:sha1:3640cb54210edbb7edbf1b12ef0127ecfcea967d</id>
<content type='text'>
'RELENG_6_0_0_RELEASE'.

This commit was manufactured to restore the state of the 6.0-RELEASE image.
</content>
</entry>
<entry>
<title>Correctly document the return value of strerror() and strerror_r() and</title>
<updated>2004-10-12T14:52:52Z</updated>
<author>
<name>Giorgos Keramidas</name>
<email>keramida@FreeBSD.org</email>
</author>
<published>2004-10-12T14:52:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4bf94cc1f736deed7f10c72724313d19b2f1263f'/>
<id>urn:sha1:4bf94cc1f736deed7f10c72724313d19b2f1263f</id>
<content type='text'>
the contents of the returned buffer for unknown error codes.

PR:		docs/72578
Submitted by:	Jilles Tjoelker &lt;jilles@stack.nl&gt;
MFC after:	3 days
</content>
</entry>
<entry>
<title>Add back the Standards section claiming conformance to 1003.1-2001 and</title>
<updated>2002-12-19T10:24:52Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2002-12-19T10:24:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c0dd63a8a86c5898580444f3ef9f112c1a7f2baa'/>
<id>urn:sha1:c0dd63a8a86c5898580444f3ef9f112c1a7f2baa</id>
<content type='text'>
C99 now that all known standards-related bugs have been fixed.
</content>
</entry>
<entry>
<title>Rearrange strerror() so that its itoa procedure can be used with</title>
<updated>2002-12-18T16:53:31Z</updated>
<author>
<name>Mike Barcroft</name>
<email>mike@FreeBSD.org</email>
</author>
<published>2002-12-18T16:53:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5a98f074e6b1c2d0ab1bbad4cd23e7ac99a1ff2e'/>
<id>urn:sha1:5a98f074e6b1c2d0ab1bbad4cd23e7ac99a1ff2e</id>
<content type='text'>
strerror_r().  Doing this allows us to ensure that strerror_r() always
fills the supplied buffer regardless of EINVAL or ERANGE errors.

strerror()'s semantics have changed slightly such that an argument of
0 is now considered invalid and errno is set to EINVAL.

Remove internal regression test for strerror() and strerror_r().  This
will be reincarnated in src/tools/regression/lib/libc/string.

In strerror(3), add a comment about strerror()'s bogus return type.

PR:	44356
</content>
</entry>
<entry>
<title>Remove the Standards section again until we get these functions sorted</title>
<updated>2002-10-24T01:24:26Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2002-10-24T01:24:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6f9ed74abcf7352dcd9576c884909f23eec7b734'/>
<id>urn:sha1:6f9ed74abcf7352dcd9576c884909f23eec7b734</id>
<content type='text'>
out. This will probably have to wait until after 5.0-R.
</content>
</entry>
<entry>
<title>Add a Standards section, claiming conformance to IEEE Std. 1003.1-2001.</title>
<updated>2002-10-23T10:16:21Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2002-10-23T10:16:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=edafcb6d73c198ca5545e54f8cfd2a447178beaa'/>
<id>urn:sha1:edafcb6d73c198ca5545e54f8cfd2a447178beaa</id>
<content type='text'>
Also add a note to the Bugs section pointing out that strerror() and
perror() share the same static buffer.
</content>
</entry>
<entry>
<title>Revert last commit.  stdio.h include is for perror(), not strerror()</title>
<updated>2002-01-31T13:32:14Z</updated>
<author>
<name>Chris D. Faulhaber</name>
<email>jedgar@FreeBSD.org</email>
</author>
<published>2002-01-31T13:32:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ea018aa2605c6070c94b7b54bf6b9fe4d6631825'/>
<id>urn:sha1:ea018aa2605c6070c94b7b54bf6b9fe4d6631825</id>
<content type='text'>
</content>
</entry>
<entry>
<title>strerror(3) is in string.h, not stdio.h</title>
<updated>2002-01-31T13:20:48Z</updated>
<author>
<name>Chris D. Faulhaber</name>
<email>jedgar@FreeBSD.org</email>
</author>
<published>2002-01-31T13:20:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=066f7169c1b561bbd678755ae77ccb33a7e6555c'/>
<id>urn:sha1:066f7169c1b561bbd678755ae77ccb33a7e6555c</id>
<content type='text'>
MFC after:	1 week
</content>
</entry>
<entry>
<title>mdoc(7) police: minor markup nits.</title>
<updated>2001-12-12T15:02:32Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2001-12-12T15:02:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6184d98a2a10cd4f13783533e189fd79a56aed76'/>
<id>urn:sha1:6184d98a2a10cd4f13783533e189fd79a56aed76</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make strerror and strerror_r use sys_errlist[0] for errnum = 0.  Be</title>
<updated>2001-12-07T06:28:58Z</updated>
<author>
<name>Wes Peters</name>
<email>wes@FreeBSD.org</email>
</author>
<published>2001-12-07T06:28:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=556f162ac01ccf2a3f501c0090aa6011fd723fdd'/>
<id>urn:sha1:556f162ac01ccf2a3f501c0090aa6011fd723fdd</id>
<content type='text'>
more careful about reporting truncation with ERANGE in strerror_r.
Set errno to EINVAL for "unknown" errnum in strerror as required
by P1003.1-200x Draft June 14, 2001.

More carefully document the handling of strerrbuf when errors
(ERANGE, EINVAL) are encountered in strerror_r.

Reviewed by:	bde (ongoing discussion)
</content>
</entry>
</feed>
