File: safemalloc.h

package info (click to toggle)
fvwm3 1.0.6a%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,408 kB
  • sloc: ansic: 141,349; perl: 4,891; sh: 4,568; makefile: 785; yacc: 688; lex: 187; sed: 11
file content (14 lines) | stat: -rw-r--r-- 314 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _SAFEMALLOC_H
#define _SAFEMALLOC_H

#include <stdarg.h>
#include <stddef.h>

void	*fxmalloc(size_t);
void	*fxcalloc(size_t, size_t);
void	*fxrealloc(void *, size_t, size_t);
char	*fxstrdup(const char *);
int	 xasprintf(char **, const char *, ...);
int	 xvasprintf(char **, const char *, va_list);

#endif