ldns_str2period3
Converts a ttl value (like 5d2h) to a long
Usage
#include <stdint.h>
#include <stdbool.h>
#include <ldns/ldns.h>
uint32_t ldns_str2period(const char *nptr, const char **endptr);
Overview
ldns_str2period() converts a ttl value (like 5d2h) to a long. .br nptr: the start of the string .br endptr: points to the last char in case of error .br Returns the convert duration value
Remarks
This manpage was automatically generated from the ldns source code.
Releases
10 releases since Debian 5.0 (Lenny); the text changed 4 times.