delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/10/30/08:14:44

Date: Thu, 30 Oct 1997 15:13:45 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Ian Miller <itmiller AT dera DOT gov DOT uk>
cc: DJGPP workers <djgpp-workers AT delorie DOT com>,
Vik Heyndrickx <Vik DOT Heyndrickx AT rug DOT ac DOT be>
Subject: Re: Style Sheet
In-Reply-To: <34588079.3C79AA54@dera.gov.uk>
Message-ID: <Pine.SUN.3.91.971030150807.3298A-100000@is>
MIME-Version: 1.0

On Thu, 30 Oct 1997, Ian Miller wrote:

>     Avoid polluting the ANSI and POSIX namespaces.
>     Example of bad practice?

One example is defining external funcions whose names aren't mentioned in 
ANSI/POSIX standards, and which don't begin with an underscore, like so:

	int my_fancy_function ();

Another example is calling non-POSIX functions whose names don't begin 
with an underscore, from POSIX/ANSI functions.  For example, `stat' should 
NOT call `fnsplit'.  (In ANSI functions, avoid non-ANSI functions as 
well: `fopen' should NOT call `stat'.)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019