scan_httpdate(3)

scan_httpdate3

Parse a http date

Usage

#include <libowfat/scan.h>

size_t scan_httpdate(const char *src,time_t *dest);

Overview

scan_httpdate parses a date as defined in the HTTP standard into a time_t. It returns the number of bytes read from src (0 for parse error).

The only supported time zone is GMT.

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–11
  2. 12–13

From libowfat-dev 0.32-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.