view modules/unistd-safer @ 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 3ccc6d0d52bb
children 42b53a22aee5
line wrap: on
line source

Description:
File descriptor functions that avoid clobbering STD{IN,OUT,ERR}_FILENO.

Files:
lib/unistd-safer.h
lib/dup-safer.c
m4/unistd-safer.m4

Depends-on:

configure.ac:
gl_UNISTD_SAFER

Makefile.am:
lib_SOURCES += unistd-safer.h dup-safer.c

Include:
"unistd-safer.h"

Maintainer:
Paul Eggert, Jim Meyering