Mail Archives: djgpp-workers/1999/01/06/04:38:07
On Tue, 5 Jan 1999, Martin Str|mberg wrote:
> How many underscores should my two new functions begin with? What is
> the rule?
ANSI says that anything that begins with an underscore can be used by
the library implementation for internal purposes. So one underscore
is enough.
I believe the DJGPP practice is to have one underscore on functions
that an application might want to call, and two underscores for
functions that aren't supposed to be called directly by application
code.
DJ, is that right? I don't think it's written anywhere, but the
pattern seems consistent.
Hmm, the `__dpmi_...' functions seem to be one exception from this
rule.
- Raw text -