home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / ingres04.lzh / source / gutil / iocv.c < prev    next >
Encoding:
C/C++ Source or Header  |  1985-02-08  |  327 b   |  23 lines

  1. # include    <sccs.h>
  2. # include    <useful.h>
  3.  
  4. SCCSID(@(#)iocv.c    8.2    2/8/85)
  5.  
  6. /*
  7. **  INTEGER OUTPUT CONVERSION
  8. **
  9. **    The integer `i' is converted to ascii using itoa and put
  10. **    into the static buffer `buf'.  The address of `buf' is
  11. **    returned.
  12. */
  13.  
  14. char *
  15. iocv(i)
  16. int    i;
  17. {
  18.     static char    buf[CHAR_SZ];
  19.  
  20.     itoa(i, buf);
  21.     return (buf);
  22. }
  23.