10.07.2015 Views

CF2 API Reference (PDF) - Persistor Instruments Inc

CF2 API Reference (PDF) - Persistor Instruments Inc

CF2 API Reference (PDF) - Persistor Instruments Inc

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>CF2</strong> <strong>API</strong> <strong>Reference</strong>sscantime -- scan time string into hour, min, and sec fields of struct tmDescription:Prototype:Inputs:Returns:Notes:This is a general purpose time string parser.short sscantime(const char *str, struct tm *ptm);str is a zero terminated C string containing time in the form:HOURSMINUTESSECONDS and optional AM or PM for 12 hour time. may be any single comma, space, dash, period, or slash.ptm is a standard C library tm structure from with fields tm_hour, tm_min, andtm_secs filled in from the scan.Returns the lenght of the scanned string or zero if the string is invalid.This routine is used by the PicoDOS QRtime and QRdatetime query/reply functions.PERSISTOR<strong>Instruments</strong> <strong>Inc</strong>.77 of 84<strong>CF2</strong> <strong>API</strong> <strong>Reference</strong>7/19/2005

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!