File: misc.h

package info (click to toggle)
sibsim4 0.20-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 236 kB
  • sloc: ansic: 3,792; makefile: 22
file content (26 lines) | stat: -rw-r--r-- 584 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* $Id: misc.h,v 1.4 2004/04/21 14:45:59 chris Exp $
 *
 * Christian Iseli, LICR ITO, Christian.Iseli@licr.org
 *
 * Copyright (c) 2001-2004 Swiss Institute of Bioinformatics.
 * Copyright (C) 1998-2001  Liliana Florea.
 * Copyright (C) 1998-2001  Scott Schwartz.
 */

#ifndef SIM_MISC_H
#define SIM_MISC_H

#ifdef __GNUC__
void
fatal(const char *fmt, ...)
     __attribute__ ((format (printf, 1, 2) , __noreturn__));
#else
void
fatal(const char *fmt, ...);
#endif

void *xmalloc(size_t size);
void *xcalloc(size_t nmemb, size_t size);
void *xrealloc(void *ptr, size_t size);

#endif