strings.h

Ed Carp, aka Mr. Ed the talking horse... erc at khijol.UUCP
Tue Feb 13 16:19:06 AEST 1990


In article <25CFA63A.156D at marob.masa.com> daveh at marob.masa.com (Dave Hammond) writes:

>Someone did exactly this on the machines here, a while back.
>It breaks nothing, and eliminates one porting nuisance.

Be sure that you put

#define index strchr
#define rindex strrchr

in your string.h file, or your linker may complain if you port BSD code to
*NIX.
-- 
Ed Carp                 N7EKG/5 (28.3-28.5)     uunet!cs.utexas.edu!khijol!erc
Austin, Texas           (512) 832-5884          "Good tea.  Nice house." - Worf
Opinions expressed are mine. Copyright 1990 Edwin R. Carp. All Rights Reserved.



More information about the Comp.unix.xenix mailing list