view modules/realloc-posix @ 40218:e92cc6824b7f

getloadavg: Write NULL for the null pointer. Reported by Michal Privoznik <mprivozn@redhat.com>. * lib/getloadavg.c (getloadavg): Write NULL instead of 0.
author Bruno Haible <bruno@clisp.org>
date Sun, 03 Mar 2019 19:36:14 +0100
parents 1f14c6dd175d
children
line wrap: on
line source

Description:
realloc() function: allocate memory with indefinite extent.

Files:
lib/realloc.c
m4/realloc.m4
m4/malloc.m4

Depends-on:
stdlib

configure.ac:
gl_FUNC_REALLOC_POSIX
if test $REPLACE_REALLOC = 1; then
  AC_LIBOBJ([realloc])
fi
gl_STDLIB_MODULE_INDICATOR([realloc-posix])

Makefile.am:

Include:
<stdlib.h>

License:
LGPLv2+

Maintainer:
all