File: utils.h

package info (click to toggle)
lemonbar 1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 128 kB
  • sloc: ansic: 1,239; makefile: 37
file content (10 lines) | stat: -rw-r--r-- 242 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#ifndef UTILS_H_
#define UTILS_H_

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

#endif