RtAtoi

RtAtoi converts a given string value to an integer.

Syntax

Copy
INT RtAtoi(
    [in]    LPCSTR lpString
);

Parameters

[in] lpString

The source character string.

Return Value

On success the function returns:

On failure the function returns:

Remarks

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

This function supports decimal digits only.

Requirements

Minimum supported version Header Library

wRTOS 1.0 SDK

RtApi.h

RtApi.lib (Windows), Startup.lib (RTSS)

See Also: