Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
scan_iso8601(3) 	    Library Functions Manual		 scan_iso8601(3)

NAME
     scan_iso8601 - parse an ISO-8601 timestamp

SYNTAX
     #include <libowfat/scan.h>

     size_t scan_iso8601(const char *src,struct timespec *dest);

DESCRIPTION
     scan_iso8601  parses a timestamp as defined in ISO-8601 into a struct time-
     spec.  It returns the number of bytes read from src (0 for parse error).

     scan_iso8601 supports input timestamps in time zones other  than  UTC  even
     though  fmt_iso8601  does	not.  Note that the returned time_t is always in
     UTC, even if a local time was given.

SEE ALSO
     fmt_iso8601(3)

								 scan_iso8601(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=libowfat_scan_iso8601&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help