This is the mail archive of the mailing list for the GCC 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: terminology: zero character vs. null character

On 06/03/17 21:15, Roland Illig 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.

Since it is confusing to have two different terms for the same concept,
the term "zero character" should be dropped entirely, both because it is
uncommon and because it can be confused with '0'.

Since this affects several places in the code, I think it's better to
start a small discussion first instead of writing several PRs.

I don't see anything explicit here: But I believe we follow standards' language and it should always be "null character". Having a discussion first is likely to get nowhere. It sounds too much like "maybe we should" (point 11:

Please send a patch fixing it:

You can also send a patch changing Once that is accepted, obvious changes to match the coding conventions are usually considered pre-approved.



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