question on rindex()

Kendall kendall at wjh12.UUCP
Wed Sep 21 16:57:24 AEST 1983


Better to define replacement function names like this:
	#define index  strchr
than like this:
	#define index(a,b)  strchr(a,b)
because the former method allows one to pass the replacement name
as a function pointer.

	Sam Kendall			{allegra,ihnp4}!wjh12!kendall
	Delft Consulting Corporation	  decvax!genrad!wjh12!kendall



More information about the Comp.unix mailing list