Annotation of 43BSD/ingres/source/gutil/locv.c, revision 1.1.1.1

1.1       root        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 */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.