File: xmalloc.h

package info (click to toggle)
qiv 2.3.2-2
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 512 kB
  • sloc: ansic: 4,551; makefile: 99; sh: 67; python: 45
file content (12 lines) | stat: -rw-r--r-- 453 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
/* xmalloc.h - Header for do-or-die memory management functions.
 * 
 * Created by Kevin Locke (to accompany xmalloc.c)
 *
 * I hereby place this file in the public domain.  It may be freely reproduced,
 * distributed, used, modified, built upon, or otherwise employed by anyone
 * for any purpose without restriction.
 */

extern void *xmalloc(size_t size);
extern void *xcalloc(size_t num, size_t size);
extern void *xrealloc(void *ptr, size_t size);