summaryrefslogtreecommitdiff
path: root/string_to_uint.c
Commit message (Collapse)AuthorAgeFilesLines
* Change the license of strace to LGPL-2.1-or-laterDmitry V. Levin2018-12-101-21/+1
| | | | | | | | strace is now provided under the terms of the GNU Lesser General Public License version 2.1 or later, see COPYING for more details. strace test suite is now provided under the terms of the GNU General Public License version 2 or later, see tests/COPYING for more details.
* Update copyright headersDmitry V. Levin2018-02-131-1/+1
| | | | | Headers updated automatically using maint/update_copyright_years.sh script.
* Make string_to_uint_ex more universalEugene Syromyatnikov2018-02-101-14/+8
| | | | | | | | | | | | | And add support for reading of various types. * string_to_uint.c (string_to_uint_ex): Change to work with long long. (string_to_uint): Move it... * string_to_uint.h (string_to_uint): ...here. (string_to_uint_upto): Accept long long as max_val, return long long. (string_to_ulong, string_to_kulong, string_to_ulonglong): New functions, for completeness. Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
* Move string_to_uint* functions to a separate fileEdgar Kaziakhmedov2017-08-221-0/+69
Make string_to_uint* functions available to other binaries included in the strace package. * string_to_uint.h: New file. * defs.h: Include it. (string_to_uint_ex, string_to_uint_upto, string_to_uint): Move to string_to_uint.h. * util.c (string_to_uint_ex, string_to_uint): Move ... * string_to_uint.c: ... to the new file. * Makefile.am (strace_SOURCES): Add string_to_uint.h and string_to_uint.c. Signed-off-by: Edgar Kaziakhmedov <edgar.kaziakhmedov@virtuozzo.com> Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>