File: xmalloc.h

package info (click to toggle)
nfs-utils 1%3A1.0.6-3.1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,532 kB
  • ctags: 1,845
  • sloc: ansic: 16,107; sh: 3,129; makefile: 272
file content (16 lines) | stat: -rw-r--r-- 349 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * xmalloc	Module for memory allocation. Drop in your
 *		debugging malloc module if you feel like it.
 *
 * Copyright (C) 1995 Olaf Kirch <okir@monad.swb.de>
 */

#ifndef XMALLOC_H
#define XMALLOC_H

void	*xmalloc(size_t size);
void	*xrealloc(void *ptr, size_t size);
char	*xstrdup(const char *s);
void	xfree(void *ptr);

#endif /* XMALLOC_H */