ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/standard.h
(Generate patch)

Comparing ray/src/common/standard.h (file contents):
Revision 1.5 by greg, Sat Dec 15 15:01:35 1990 UTC vs.
Revision 1.6 by greg, Fri Apr 12 13:55:33 1991 UTC

# Line 57 | Line 57 | extern int  errno;                     /* system error number */
57   #else
58   #define  copystruct(d,s)        bcopy((char *)(s),(char *)(d),sizeof(*(d)))
59   #endif
60 +
61   #ifndef  BSD
62   #define  bcopy(s,d,n)           (void)memcpy(d,s,n)
63   #define  bzero(d,n)             (void)memset(d,0,n)
64   #define  bcmp(b1,b2,n)          memcmp(b1,b2,n)
65   extern char  *memcpy(), *memset();
66 + #define  index                  strchr
67 + #define  rindex                 strrchr
68   #endif
69  
70   extern char  *sskip();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines