mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
common: New function scan_secondsstr.
* common/gettime.c (scan_secondsstr): New. * common/t-gettime.c (test_scan_secondsstr): (main): Call it.
This commit is contained in:
parent
5601f5db98
commit
a17363e992
4 changed files with 76 additions and 2 deletions
|
@ -725,7 +725,7 @@ compare_filenames (const char *a, const char *b)
|
|||
|
||||
/* Convert a base-10 number in STRING into a 64 bit unsigned int
|
||||
* value. Leading white spaces are skipped but no error checking is
|
||||
* done. Thus it is similar to atoi(). */
|
||||
* done. Thus it is similar to atoi(). See also scan_secondsstr. */
|
||||
uint64_t
|
||||
string_to_u64 (const char *string)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue