1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-03-31 09:15:19 +02:00
Files
coreutils/lib/xalloc.h
Jim Meyering 01b84d9480 .
1997-10-25 21:49:45 +00:00

21 lines
521 B
C

#undef PARAMS
#if defined (__STDC__) && __STDC__
# define PARAMS(Args) Args
#else
# define PARAMS(Args) ()
#endif
/* Exit value when the requested amount of memory is not available.
The caller may set it to some other value. */
extern int xalloc_exit_failure;
/* FIXME: describe */
extern char *const xalloc_msg_memory_exhausted;
/* FIXME: describe */
extern void (*xalloc_fail_func) ();
void *xmalloc PARAMS ((size_t n));
void *xcalloc PARAMS ((size_t n, size_t s));
void *xrealloc PARAMS ((void *p, size_t n));