Paul Eggert wrote:
> Oh, I just noticed it collides with ctype.h's reserved namespace. So 
> perhaps is_symlinkat would be better.

This is merely a theoretical collision, because "symlink" is not and will
never be a set of characters. ISO C 23 ยง J.6 reserves a lot of other
identifiers that programs actually use:
  ENTER
  LC_ADDRESS
  SIGNAL
  memory

Names like 'islatin', 'isdiacritic' may be risky. But 'issymlinkat' is safe.

Bruno

[1] https://codesearch.debian.net/search?q=%23define+ENTER+&literal=1
[2] https://codesearch.debian.net/search?q=%23define+SIGNAL+&literal=1
[3] 
https://codesearch.debian.net/search?q=%5Cbmemory%5Ba-zA-Z0-9_%5D*%5Cb+%3D&literal=0




Reply via email to