view modules/alloca @ 4816:07ab22e0779a

(alloca): xmalloc cannot return NULL, so don't test for that.
author Paul Eggert <eggert@cs.ucla.edu>
date Mon, 27 Oct 2003 07:12:11 +0000
parents 7d46c302ed19
children 4d0ebc9d330c
line wrap: on
line source

Description:
Memory allocation on the stack.

Files:
lib/alloca_.h
lib/alloca.c
m4/alloca.m4

Depends-on:
xalloc

configure.ac:
gl_FUNC_ALLOCA

Makefile.am:
BUILT_SOURCES += $(ALLOCA_H)
EXTRA_DIST += alloca_.h

# We need the following in order to create an <alloca.h> when the system
# doesn't have one that works with the given compiler.
all-local $(lib_OBJECTS): $(ALLOCA_H)
alloca.h: alloca_.h
	cp $(srcdir)/alloca_.h $@-t
	mv $@-t $@
MOSTLYCLEANFILES += alloca.h alloca.h-t

Include:
#include <alloca.h>

Maintainer:
bug-gnulib@gnu.org