diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2013-02-06 17:29:11 +0100 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2013-02-06 21:09:01 +0400 |
commit | a068ff609288b61f86b37b02f06755f84c5aaca7 (patch) | |
tree | 30357f8b926c01ceda91ff9564bf67d63c88fad1 /accel-pppd/ctrl | |
parent | 3565aac70d801a08b82aa3b4ed268b3470488d57 (diff) | |
download | accel-ppp-xebd-a068ff609288b61f86b37b02f06755f84c5aaca7.tar.gz accel-ppp-xebd-a068ff609288b61f86b37b02f06755f84c5aaca7.zip |
utils: Add function for strict str to int conversion
Define the u_readlong() function as a wrapper for strtol(). It performs
stricter checks on the input value and let the caller specify an interval
of acceptable values.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/ctrl')
0 files changed, 0 insertions, 0 deletions