File: alloc.h

package info (click to toggle)
procps 1%3A3.3.3-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,608 kB
  • sloc: ansic: 18,401; sh: 12,037; makefile: 315; exp: 226; sed: 16
file content (18 lines) | stat: -rw-r--r-- 433 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef PROCPS_PROC_ALLOC_H
#define PROCPS_PROC_ALLOC_H

#include "procps.h"

EXTERN_C_BEGIN

 /* change xalloc_err_handler to override the default fprintf(stderr... */
extern message_fn xalloc_err_handler;

extern void *xcalloc(unsigned int size) MALLOC;
extern void *xmalloc(unsigned int size) MALLOC;
extern void *xrealloc(void *oldp, unsigned int size) MALLOC;
extern char *xstrdup(const char *str) MALLOC;

EXTERN_C_END

#endif