Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ISafeString::atoll ( const P6CHAR pString,
P6SIZE  cchMax,
P6INT64 pRetLongLong 
)
pure virtual

This method converts the string pointed to by pString into a P6R::P6INT64.

The method will skip leading whitespace and stop processing at the first non-digit character it finds in the string (including NULL).

Parameters
pString[ in ] A pointer to the string to be converted.
cchMax[ in ] The maximum number of charaters to scan. For example, if the string is contained in a 16 byte buffer, this should be 16 to prevent scanning past the end of the buffer if the string is malformed (not NULL terminated).
pRetLongLong[ out ] The address of a P6R::P6INT64 in which to place the converted result.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgpString or pRetLong is NULL, or ccMax is zero
P6R::eTooBigcchMax characters was reached in the conversion. The conversion was aborted.