/
githubmirror
/
procps
Обзор
Документация
Войти
/
githubmirror
/
procps
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v3.3.11
proc/alloc.h
18 строк
427 B
Sami Kerola
pmap: use correct types for memory allocation
06 ноя 2012, 15:22
06 ноя 2012, 15:22
c043c47
Код
Авторство
О чём код?
#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(size_t size) MALLOC; extern void *xrealloc(void *oldp, unsigned int size) MALLOC; extern char *xstrdup(const char *str) MALLOC; EXTERN_C_END #endif