Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Oct 2001 01:10:35 +0100
From:      Nik Clayton <nik@freebsd.org>
To:        Warner Losh <imp@harmony.village.org>
Cc:        Nate Williams <nate@yogotech.com>, Mike Barcroft <mike@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libc/string strnstr.c Makefile.inc strstr.3 src/include string.h
Message-ID:  <20011010011035.I966@clan.nothing-going-on.org>
In-Reply-To: <200110092327.f99NRg769889@harmony.village.org>; from imp@harmony.village.org on Tue, Oct 09, 2001 at 05:27:42PM -0600
References:  <15299.21138.651648.144237@nomad.yogotech.com> <200110090129.f991Tvs39485@freefall.freebsd.org> <15299.21138.651648.144237@nomad.yogotech.com> <200110092327.f99NRg769889@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Ry3qE+viRNtbc3l7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Oct 09, 2001 at 05:27:42PM -0600, Warner Losh wrote:
> In message <15299.21138.651648.144237@nomad.yogotech.com> Nate Williams w=
rites:
> : Aren't names that start with str reserved by ANSI?  Therefore, adding a
> : non-standard routing with this name is a violation of the C language.
> :=20
> : (Bruce would know more...)
>=20
> Actaully, str* is reserved for the implementation space.  A conforming
> program cannot define str* routines, so this will not break any
> conforming program.

Aren't we then screwed if some future standard introduces strnstr() with
a different API?

N
--=20
FreeBSD: The Power to Serve             http://www.freebsd.org/
FreeBSD Documentation Project           http://www.freebsd.org/docproj/

          --- 15B8 3FFC DDB4 34B0 AA5F  94B7 93A8 0764 2C37 E375 ---

--Ry3qE+viRNtbc3l7
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjvDkfsACgkQk6gHZCw343UhnQCcD2aGtivo92OJM6RIku8lgjPH
dUgAn2dFjaBBGBOJwYzZtlckAaMmN4ZR
=S3Ak
-----END PGP SIGNATURE-----

--Ry3qE+viRNtbc3l7--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011010011035.I966>