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

From: Quentin Rameau <quinq_AT_fifth.space>
Date: Tue, 21 May 2019 19:31:08 +0200

> 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.

Indeed, I stand corrected (already present in C99)!
Received on Tue May 21 2019 - 19:31:08 CEST

This archive was generated by hypermail 2.3.0 : Tue May 21 2019 - 19:36:22 CEST