This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: terminology: zero character vs. null character
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Gerald Pfeifer <gerald at pfeifer dot com>
- Cc: Manuel López-Ibáñez <lopezibanez at gmail dot com>, Roland Illig <roland dot illig at gmx dot de>, <gcc at gcc dot gnu dot org>, <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 13 Mar 2017 18:15:19 +0000
- Subject: Re: terminology: zero character vs. null character
- Authentication-results: sourceware.org; auth=none
- References: <24d86a2d-02c2-7774-7876-73b7825c7811@gmx.de> <43e59cbc-4352-af0a-90f1-112b1ae5301a@gmail.com> <alpine.LSU.2.20.1703122226570.3498@anthias.pfeifer.com>
On Sun, 12 Mar 2017, Gerald Pfeifer wrote:
> On Fri, 10 Mar 2017, Manuel López-Ibáñez wrote:
> >> I am currently translating GCC into German. During that, I noticed that
> >> in some places the term "zero character" means '\0'. The official term
> >> though is "null character", as per the C standard.
> > I don't see anything explicit here: https://gcc.gnu.org/codingconventions.html
> > But I believe we follow standards' language and it should always be "null
> > character".
>
> Agreed.
>
> Joseph, do you also agree (and with the patch below to document this)?
Yes.
--
Joseph S. Myers
joseph@codesourcery.com