[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
USAGE
   signed int sccti2s(
           signed char *string,
           signed int format,
           signed int hours,
           signed int minutes,
           signed int seconds );

PROTOTYPE IN
   sc_clock.h

DESCRIPTION
   sccti2s converts three integer time values hours, minutes, and
   seconds into an ASCIIZ string string of the string style format.
   A check is made to verify that string is a valid time string before
   exiting.

   Time string styles:
   SC_CSHMS   hh:mm:ss
   SC_MIL     military (0000-2359)

EXAMPLE
   #include <stdio.h>
   #include <softc.h>
   #include <sc_clock.h>

   void main()
   {
     signed char d[9];

     sccti2s(d,SC_GREGOR,12,3,59);
     puts(d);
   }

See Also: scctsvalid sccts2i
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson