logo

utils-std

Collection of commonly available Unix tools git clone https://anongit.hacktivis.me/git/utils-std.git/

datetime_parse.h (400B)


  1. // utils-std: Collection of commonly available Unix tools
  2. // SPDX-FileCopyrightText: 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
  3. // SPDX-License-Identifier: MPL-2.0
  4. #include <time.h> /* time_t */
  5. // Sets errstr on failure
  6. extern char *datetime_parse(char *arg, time_t *epoch, long *nsec, const char **errstr);
  7. // libutils/utils_timegm.c
  8. extern time_t utils_timegm(struct tm *tm);