home *** CD-ROM | disk | FTP | other *** search
/ The UNIX CD Bookshelf / OREILLY_TUCB_UNIX_CD.iso / upt / examples / SOURCES / LNDIR / I386 / LNDIR. next >
Encoding:
Text File  |  1998-07-24  |  408 b   |  22 lines

  1. *** lndir.c.orig    Wed Dec  9 11:10:37 1992
  2. --- lndir.c    Wed Dec  9 11:20:19 1992
  3. ***************
  4. *** 1,7 ****
  5.   #include <stdio.h>
  6.   #include <sys/types.h>
  7. ! #include <sys/dir.h>
  8.   #include <sys/stat.h>
  9.   char *rindex();
  10.   
  11.   /*
  12. --- 1,9 ----
  13.   #include <stdio.h>
  14.   #include <sys/types.h>
  15. ! #include <dirent.h>
  16.   #include <sys/stat.h>
  17. + #define rindex strrchr
  18. + #define direct dirent 
  19.   char *rindex();
  20.   
  21.   /*
  22.