2 * Copyright 2002-2007, Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
6 * Daniel Reinhold, danielre@users.sf.net
16 return (int) strtol(num
, NULL
, 10);
21 atoui(const char* num
)
23 return (unsigned int) strtoul(num
, NULL
, 10);
30 return strtol(num
, NULL
, 10);
35 atoul(const char* num
)
37 return strtoul(num
, NULL
, 10);
42 atoll(const char* num
)
44 return strtoll(num
, NULL
, 10);