1: # include   <sccs.h>
   2: # include   <useful.h>
   3: 
   4: SCCSID(@(#)locv.c	8.2	(Ingres)	2/8/85)
   5: 
   6: /*
   7: ** locv
   8: **	Convert a long integer into a string.
   9: **
  10: ** Notes:
  11: **	This is a replacement for the locv routine that was
  12: **	originally written in assembler. I am dropping a lot
  13: **	of the general purpose stuff, and basically replacing
  14: **	it with a sprintf for ease.
  15: **
  16: ** Returns
  17: **	A string representation of a long
  18: */
  19: char    *
  20: locv(i)
  21: long    i;
  22: {
  23:     static  char    buf[LONG_BUFSZ];
  24: 
  25:     sprintf(buf,"%ld",i);
  26:     return (buf);
  27: }/* locv */

Defined functions

locv defined in line 4; never used
Last modified: 1986-04-17
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 754
Valid CSS Valid XHTML 1.0 Strict