[
https://issues.apache.org/jira/browse/TS-1773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15488335#comment-15488335
]
Alan M. Carroll commented on TS-1773:
-------------------------------------
We probably want a single base implementation with potentially wrappers to
simplify the interface. A minimal set of features for the base version
* Can take a pointer and length, not require null termination.
* Returns the number of characters parsed, or a pointer to the first unparsed
character (like strtol)
* Works with 64 bit numbers
> Consistently use ink_atoi() (or one of the equivalent functions we provide)
> ---------------------------------------------------------------------------
>
> Key: TS-1773
> URL: https://issues.apache.org/jira/browse/TS-1773
> Project: Traffic Server
> Issue Type: Bug
> Components: Core
> Reporter: Leif Hedstrom
> Assignee: Meera Mosale Nataraja
> Labels: newbie
> Fix For: 7.1.0
>
>
> Most of the code uses ink_atoi(), we should make sure we do so consistently.
> In addition, perhaps we want to expose our internal version to plugin APIs,
> since it does have additional features compared to atoi() / strtol().
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)