This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why __memrchr vs. memrchr ?


Hi,

On Tue, Feb 03, 2004 at 02:37:21AM +0500, Denis Zaitsev wrote:
> Why such a scheme is used in GLIBC:
> 
> declare + define __memrchr, and than
> 
> # ifdef __USE_GNU
> #  define memrchr(s, c, n) __memrchr ((s), (c), (n))
> # endif
> 
> ?  memrchr is not the GNU extension, is it?

According to memchr(3),
"The memrchr() function is a GNU extension, available since glibc 2.1.91".


-- 
ldv

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]