RtAtoi

RtAtoi converts a given string value to an integer.

Syntax

Copy
INT RtAtoi(
    LPCSTR lpString
);

Parameters

lpString

The source character string.

Return Value

If the function succeeds, it returns:

If the function fails, it returns:

Remarks

RtAtoi is like atoi, but RtAtoi does not require the C runtime library and can work with any combination of run-time libraries.

This function supports decimal digits only and does not allow leading whitespace or signs.

Requirements

Minimum supported version Header Library

eRTOS 1.0 SDK

Rtapi.h rtkrnl.lib

See Also: