bug-standards
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Prefixing C function names with ‘_’


From: Richard Stallman
Subject: Re: Prefixing C function names with ‘_’
Date: Sun, 24 Sep 2017 15:48:54 -0400

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

In regard to
http://lists.gnu.org/archive/html/bug-standards/2017-04/msg00000.html:

    I think this is bad advice because both POSIX and glibc reserve names
    starting with an ‘_’.  Quoth
    <[7]https://www.gnu.org/software/libc/manual/html_node/Reserved-Names.html>:

The spirit of this rule is that names starting with _ are reserved
for system libraries.

GNU libraries are system libraries, so they should use _ for their
internal names.  The developers should avoid real conflicts on GNU,
and on non-GNU systems that they choose to support.  That includes
coordinating with the libc developers when that is useful.

-- 
Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]