view modules/getndelim2 @ 4621:3d28ad4e18e2

Add time_r module. Change timegm, mktime, and strftime to use localtime_r and gmtime_r, now supplied by the time_r module. This fixes some timegm bugs and cleans up mktime and strftime a bit.
author Paul Eggert <eggert@cs.ucla.edu>
date Sat, 06 Sep 2003 21:34:07 +0000
parents c761847c9afa
children 42b53a22aee5
line wrap: on
line source

Description:
Read a line from a stream, stopping at one of 2 delimiters, with bounded
memory allocation.

Files:
lib/getndelim2.h
lib/getndelim2.c
m4/getndelim2.m4
m4/ssize_t.m4

Depends-on:
unlocked-io

configure.ac:
gl_GETNDELIM2

Makefile.am:
EXTRA_DIST += getndelim2.h getndelim2.c

Include:
"getndelim2.h"

Maintainer:
all