mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-31 15:01:09 +00:00
Update.
* wctype/wcextra.c: Declare __ctype32_b.
This commit is contained in:
parent
ee2752ea58
commit
8c474db54d
@ -1,5 +1,7 @@
|
|||||||
1999-01-27 Ulrich Drepper <drepper@cygnus.com>
|
1999-01-27 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* wctype/wcextra.c: Declare __ctype32_b.
|
||||||
|
|
||||||
* manual/string.texi: Add optimization examples for strcat and strchr.
|
* manual/string.texi: Add optimization examples for strcat and strchr.
|
||||||
|
|
||||||
1999-01-26 Ulrich Drepper <drepper@cygnus.com>
|
1999-01-26 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
@ -1110,9 +1110,10 @@ is this:
|
|||||||
There is no restriction on the second parameter of @code{strchr} so it
|
There is no restriction on the second parameter of @code{strchr} so it
|
||||||
could very well also be the NUL character. Those readers thinking very
|
could very well also be the NUL character. Those readers thinking very
|
||||||
hard about this might now point out that the @code{strchr} function is
|
hard about this might now point out that the @code{strchr} function is
|
||||||
more expensive than the @code{strlen} since we have two abort criteria.
|
more expensive than the @code{strlen} function since we have two abort
|
||||||
This is right. But when using the GNU C library this @code{strchr} call
|
criteria. This is right. But when using the GNU C library is used this
|
||||||
gets optimized in a special way so that this version actually is faster.
|
@code{strchr} call gets optimized in a special way so that this version
|
||||||
|
actually is faster.
|
||||||
|
|
||||||
@comment string.h
|
@comment string.h
|
||||||
@comment ISO
|
@comment ISO
|
||||||
|
@ -24,6 +24,10 @@
|
|||||||
|
|
||||||
#include "cname-lookup.h"
|
#include "cname-lookup.h"
|
||||||
|
|
||||||
|
/* If the program is compiled without optimization the following declaration
|
||||||
|
is not visible in the header. */
|
||||||
|
extern unsigned int *__ctype32_b;
|
||||||
|
|
||||||
int
|
int
|
||||||
(iswblank) (wint_t wc)
|
(iswblank) (wint_t wc)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user