view modules/read-file @ 11658:8b1dcb465dff

tests: add test for bogus NULL definition * tests/test-stdio.c: Ensure POSIX 2008 requirement on NULL. * tests/test-stdlib.c: Likewise. * tests/test-string.c: Likewise. * tests/test-locale.c: Likewise. * tests/test-unistd.c: Likewise. * modules/stdio-tests (Depends-on): Add verify. * modules/stdlib-tests (Depends-on): Likewise. * modules/string-tests (Depends-on): Likewise. * modules/locale-tests (Depends-on): Likewise. * modules/unistd-tests (Depends-on): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Fri, 26 Jun 2009 08:00:28 -0600
parents da729f332ec9
children 9134588a0ed4
line wrap: on
line source

Description:
read_file() function: read the contents of a file into a string

Files:
lib/read-file.h
lib/read-file.c
m4/read-file.m4

Depends-on:
realloc-posix

configure.ac:
gl_FUNC_READ_FILE

Makefile.am:

Include:
"read-file.h"

License:
LGPLv2+

Maintainer:
Simon Josefsson