Machine specific predefined names

ELIN Forsch.z. rcvie at tuvie
Thu Mar 31 06:04:28 AEST 1988


In article <3225 at haddock.ISC.COM> karl at haddock.ima.isc.com (Karl Heuer) writes:
>Moreover, not all systems implement putchar() as a macro.  If you
>try to redefine *any* standard routine -- whether macro or function -- the
>result should be, and is, undefined.  Why should the user be forced to learn
>the implementation details?

Just try the portable way and noone has to learn anything but that there
*are* some routines implemented as functions and some as macros:

#ifdef putchar
#undef putchar

<your putchar-macro/function>

		Dietmar Weickert,
			ALCATEL-ELIN Research Center, Vienna, Austria.



More information about the Comp.lang.c mailing list