view modules/safe-alloc @ 15333:f03da5e72c61

timespec-add, timespec-sub: new modules * lib/timespec.h (timespec_add, timespec_sub): New decls. * lib/timespec-add.c, lib/timespec-sub.c: * modules/timespec-add, modules/timespec-sub: New files.
author Paul Eggert <eggert@cs.ucla.edu>
date Thu, 30 Jun 2011 15:17:31 -0700
parents c1518e50c76f
children
line wrap: on
line source

Description:
A set of macros to make calls to alloc/calloc/realloc safer.

Files:
lib/safe-alloc.h
lib/safe-alloc.c
m4/safe-alloc.m4

configure.ac:
gl_SAFE_ALLOC

Makefile.am:
lib_SOURCES += safe-alloc.c

Include:
"safe-alloc.h"

License:
LGPLv2+

Maintainer:
David Lutterkort