File: xalloc.h

package info (click to toggle)
deborphan 1.7.28.8
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,916 kB
  • sloc: sh: 4,123; ansic: 1,847; makefile: 152
file content (13 lines) | stat: -rw-r--r-- 417 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* xalloc.h - Prototypes for xalloc.c
   Copyright (C) 2000, 2001, 2002, 2003 Cris van Pelt
   Copyright (C) 2003, 2004 Peter Palfrader

   $Id: xalloc.h 409 2004-04-21 12:20:43Z weasel $

   Distributed under the terms of the Artistic License.
*/

inline void *xcalloc(size_t nmemb, size_t size);
inline void *xmalloc(size_t size);
inline void *xrealloc(void *ptr, size_t size);
inline char *xstrdup(const char *s);