Re: [hackers] [sbase] [PATCH] libutil: Rename functions in reserved namespace to prevent potential conflict

From: Evan Gates <evan.gates_AT_gmail.com>
Date: Tue, 21 May 2019 10:22:41 -0700

On Tue, May 21, 2019 at 10:17 AM Quentin Rameau <quinq_AT_fifth.space> wrote:
> x* is not a reserved namespace, nor is strsep.

strsep is reserved.

C11 standard section 7.30 Future library directions:

The following names are grouped under individual headers for
convenience. All external names described below are reserved no matter
what headers are included by the program.

7.30.10 String handling <string.h>

Function names that begin with str, mem, or wcs and a lowercase letter
may be added to the declarations in the <string.h> header.
Received on Tue May 21 2019 - 19:22:41 CEST

This archive was generated by hypermail 2.3.0 : Tue May 21 2019 - 19:24:26 CEST