<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/include/string.h, branch release/8.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.0.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.0.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2009-11-21T06:13:29Z</updated>
<entry>
<title>Create release/8.0.0 for the 8.0-RELEASE.</title>
<updated>2009-11-21T06:13:29Z</updated>
<author>
<name>Ken Smith</name>
<email>kensmith@FreeBSD.org</email>
</author>
<published>2009-11-21T06:13:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a4d3b78df842614c46b116fc5a6f470be637dccd'/>
<id>urn:sha1:a4d3b78df842614c46b116fc5a6f470be637dccd</id>
<content type='text'>
Approved by:	re (implicit)

This commit was manufactured to restore the state of the 8.0-RELEASE image.
</content>
</entry>
<entry>
<title>Namespace: memccpy() and memchr() are XSI, and memrchr() is a BSD extension.</title>
<updated>2009-03-14T19:03:34Z</updated>
<author>
<name>David Schultz</name>
<email>das@FreeBSD.org</email>
</author>
<published>2009-03-14T19:03:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=dd5185d15f4be6577504f61e0bf57d00334f53a8'/>
<id>urn:sha1:dd5185d15f4be6577504f61e0bf57d00334f53a8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>- Add getdelim(), getline(), stpncpy(), strnlen(), wcsnlen(),</title>
<updated>2009-02-28T06:00:58Z</updated>
<author>
<name>David Schultz</name>
<email>das@FreeBSD.org</email>
</author>
<published>2009-02-28T06:00:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=69099ba2ec8b01fe51a5c69b98990cde406c5ab8'/>
<id>urn:sha1:69099ba2ec8b01fe51a5c69b98990cde406c5ab8</id>
<content type='text'>
  wcscasecmp(), and wcsncasecmp().
- Make some previously non-standard extensions visible
  if POSIX_VISIBLE &gt;= 200809.
- Use restrict qualifiers in stpcpy().
- Declare off_t and size_t in stdio.h.
- Bump __FreeBSD_version in case the new symbols (particularly
  getline()) cause issues with ports.

Reviewed by:	standards@
</content>
</entry>
<entry>
<title>Add restrict qualifiers to the parameters to strlcpy() and strlcat().</title>
<updated>2009-02-28T05:15:02Z</updated>
<author>
<name>David Schultz</name>
<email>das@FreeBSD.org</email>
</author>
<published>2009-02-28T05:15:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e00a6d21eb36d7888bb5bbdc2d24904211af04c8'/>
<id>urn:sha1:e00a6d21eb36d7888bb5bbdc2d24904211af04c8</id>
<content type='text'>
The annotation mainly just serves as a hint that they're not intended
for use with overlapping strings.
</content>
</entry>
<entry>
<title>Mark memmem() __pure.</title>
<updated>2009-02-28T05:08:35Z</updated>
<author>
<name>David Schultz</name>
<email>das@FreeBSD.org</email>
</author>
<published>2009-02-28T05:08:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=dce7ffd6df4072ef4f671f0684e05581c1079168'/>
<id>urn:sha1:dce7ffd6df4072ef4f671f0684e05581c1079168</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a function attribute called `__malloc_like', which informs gcc</title>
<updated>2009-01-31T18:27:02Z</updated>
<author>
<name>David Schultz</name>
<email>das@FreeBSD.org</email>
</author>
<published>2009-01-31T18:27:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=544048ecef8fd8480d850fe80ba04ab9d7f8bdef'/>
<id>urn:sha1:544048ecef8fd8480d850fe80ba04ab9d7f8bdef</id>
<content type='text'>
that the annotated function returns a pointer that doesn't alias any
extant pointer. This results in a 50%+ speedup in microbenchmarks such
as the following:

    char *cp = malloc(1), *buf = malloc(BUF);
    for (i = 0; i &lt; BUF; i++) buf[i] = *cp;

In real programs, your mileage will vary. Note that gcc already
performs this optimization automatically for any function called
`malloc', `calloc', `strdup', or `strndup' unless -fno-builtins is
used.
</content>
</entry>
<entry>
<title>Add strndup(3) prototype to string.h.</title>
<updated>2008-12-08T21:04:24Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2008-12-08T21:04:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=20e76cb365d07190cd56936e59bf95e3eb32b9ca'/>
<id>urn:sha1:20e76cb365d07190cd56936e59bf95e3eb32b9ca</id>
<content type='text'>
This change was erronously ommitted from the r185690, and attempt
to simply add the prototype to string.h has revealed that several
contributed programs defined local prototypes for strndup(), controlled
by autoconfed config.h. So, manually change #undef HAVE_STRNDUP to
#define HAVE_STRNDUP 1. Next import of the corresponding program would
regenerate config.h, overriding the changes in this commit.

No objections from: kan
</content>
</entry>
<entry>
<title>Add memrchr(3).</title>
<updated>2008-04-10T00:12:44Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2008-04-10T00:12:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=82e45205c802a06f0663e5f0e4fd2f2f047d2936'/>
<id>urn:sha1:82e45205c802a06f0663e5f0e4fd2f2f047d2936</id>
<content type='text'>
Obtained from:	OpenBSD
</content>
</entry>
<entry>
<title>Revert last revision, strmode() should be moved to &lt;unistd.h&gt; to be</title>
<updated>2005-11-24T08:30:44Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2005-11-24T08:30:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=52fbcc15a084a97c643b0be554fbd46a08d511d6'/>
<id>urn:sha1:52fbcc15a084a97c643b0be554fbd46a08d511d6</id>
<content type='text'>
properly fixed.
</content>
</entry>
<entry>
<title>Fix prototype of strmode() to match the code and documentation.</title>
<updated>2005-11-24T06:59:35Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2005-11-24T06:59:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=fee45c0c3896fe8cc7dd1b4d53c850d0f5ab62ef'/>
<id>urn:sha1:fee45c0c3896fe8cc7dd1b4d53c850d0f5ab62ef</id>
<content type='text'>
</content>
</entry>
</feed>
