From: Mike Frysinger <vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
To: Jon <jg-hus3n9K41k0@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: should strstr return const char* ?
Date: Fri, 5 Mar 2010 15:08:17 -0500 [thread overview]
Message-ID: <201003051508.18959.vapier@gentoo.org> (raw)
In-Reply-To: <4B8AE057.7000000-hus3n9K41k0@public.gmane.org>
[-- Attachment #1: Type: Text/Plain, Size: 387 bytes --]
On Sunday 28 February 2010 16:29:59 Jon wrote:
> I see this function on Ubuntu 9.10:
>
> char *strstr(const char *haystack, const char *needle);
>
> Should it not return as const char * though?
man pages document the API only. if you want to propose changing a function,
you'd have to ask the glibc mainling lists and/or more likely the POSIX
mailing lists.
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2010-03-05 20:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-28 21:29 should strstr return const char* ? Jon
[not found] ` <4B8AE057.7000000-hus3n9K41k0@public.gmane.org>
2010-03-05 20:08 ` Mike Frysinger [this message]
2010-06-19 5:49 ` Michael Kerrisk
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=201003051508.18959.vapier@gentoo.org \
--to=vapier-abrp7r+bbdudnm+yrofe0a@public.gmane.org \
--cc=jg-hus3n9K41k0@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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