linux-gcc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Denis Zaitsev <zzz@anda.ru>
To: Andreas Jaeger <aj@suse.de>
Cc: libc-alpha@sources.redhat.com, linux-gcc@vger.kernel.org
Subject: Re: Why __memrchr vs. memrchr ?
Date: Fri, 6 Feb 2004 05:08:09 +0500	[thread overview]
Message-ID: <20040206050809.A12373@zzz.ward.six> (raw)
In-Reply-To: <m3ektcsnr7.fsf@gromit.moeb>; from aj@suse.de on Tue, Feb 03, 2004 at 07:03:40AM +0100

On Tue, Feb 03, 2004 at 07:03:40AM +0100, Andreas Jaeger wrote:
> Denis Zaitsev <zzz@anda.ru> writes:
> 
> > On Tue, Feb 03, 2004 at 01:17:23AM +0300, Dmitry V. Levin wrote:
> >> 
> >> According to memchr(3),
> >> "The memrchr() function is a GNU extension, available since glibc 2.1.91".
> >
> > Oh, I'm sorry.  This fact is omited from the texinfo GLIBC
> > documentation...
> 
> It's in the Library Summary:
> `void * memrchr (const void *BLOCK, int C, size_t SIZE)'
>      `string.h' (GNU):  *Note Search Functions::.

Indeed, it's shortly marked as (GNU) here and there.  But that's not
described in the texi manual.  So, below is the tiny patch.  Please,
apply it.


--- manual/string.texi.orig	2004-02-06 05:02:13.000000000 +0500
+++ manual/string.texi	2004-02-06 05:03:47.000000000 +0500
@@ -1625,6 +1625,8 @@ This function is a GNU extension.
 The function @code{memrchr} is like @code{memchr}, except that it searches
 backwards from the end of the block defined by @var{block} and @var{size}
 (instead of forwards from the front).
+
+This function is a GNU extension.
 @end deftypefun
 
 @comment string.h

      reply	other threads:[~2004-02-06  0:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-02 21:37 Why __memrchr vs. memrchr ? Denis Zaitsev
2004-02-02 22:17 ` Dmitry V. Levin
2004-02-03  0:30   ` Denis Zaitsev
2004-02-03  6:03     ` Andreas Jaeger
2004-02-06  0:08       ` Denis Zaitsev [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040206050809.A12373@zzz.ward.six \
    --to=zzz@anda.ru \
    --cc=aj@suse.de \
    --cc=libc-alpha@sources.redhat.com \
    --cc=linux-gcc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).