Date: Wed, 6 Jan 1999 11:37:41 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Martin Str|mberg cc: DJGPP-WORKERS Subject: Re: Function names In-Reply-To: <199901051807.TAA20966@father.ludd.luth.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com 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.