home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / ingres04.lzh / source / iutil / errfilen.c < prev    next >
Encoding:
C/C++ Source or Header  |  1985-01-23  |  424 b   |  22 lines

  1. # include    <ingres.h>
  2. # include    <aux.h>
  3. # include    <version.h>
  4. # include    <sccs.h>
  5.  
  6. SCCSID(@(#)errfilen.c    8.1    12/31/84)
  7.  
  8. /*
  9. ** Errfilen() -- Returns the pathname where the error file can be found
  10. **
  11. **    It is assumed that the error digit cannot be more than 999
  12. */
  13.  
  14. char *
  15. errfilen(digit)
  16. int    digit;
  17. {
  18.     extern char    *ztack(), *iocv();
  19.  
  20.     return (ztack(ztack(ztack(ztack(Pathname, "/files/error"), VERSION), "_"), iocv(digit)));
  21. }
  22.