TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Thomas Seeling
from: Paul Edwards
date: 1995-10-17 10:34:02
subject: C Set ++

ML>> standard, non-ANSI library functions have an underscore as the leading
ML>> symbol in the function name.

PE> There is no requirement for this, unless they interfere with the

TS> One is free to use functions named as one likes but the resulting programs 
TS> are not longer allowed to be called (strictly) conforming :-)

That is not true.  This program is strictly conforming...

#include 

void doprint(void);

int main(void)
{
    doprint();
    return (0);
}

void doprint(void)
{
    printf("hello, world\n");
    return;
}

Despite the fact that doprint() is not defined by ISO.  BFN.  Paul.
@EOT:

---
* Origin: X (3:711/934.9)

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.