* lib/getopt.c: internationalization works with current version of
[findutils.git] / lib / xalloc.h
blob3f8d779253c6f36828b7df6a075dae8871c66bbb
1 #ifndef PARAMS
2 # if defined PROTOTYPES || (defined __STDC__ && __STDC__)
3 # define PARAMS(Args) Args
4 # else
5 # define PARAMS(Args) ()
6 # endif
7 #endif
9 /* Exit value when the requested amount of memory is not available.
10 The caller may set it to some other value. */
11 extern int xalloc_exit_failure;
13 /* FIXME: describe */
14 extern char *const xalloc_msg_memory_exhausted;
16 /* FIXME: describe */
17 extern void (*xalloc_fail_func) ();
19 void *xmalloc PARAMS ((size_t n));
20 void *xcalloc PARAMS ((size_t n, size_t s));
21 void *xrealloc PARAMS ((void *p, size_t n));