[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
USAGE
signed int scctsvalid(
signed char *string,
signed int format );
PROTOTYPE IN
sc_clock.h
DESCRIPTION
scctsvalid tests the ASCIIZ time string string passed for validity:
string properly formatted (format), valid hours, minutes, and seconds.
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()
{
if (scctsvalid("12:03:59",SC_CSHMS) == SC_SUCCESS)
puts("Good Time.");
else
puts("Bad Time.");
}
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson