File: error.h

package info (click to toggle)
memdump 1.01-6
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 128 kB
  • ctags: 47
  • sloc: ansic: 402; makefile: 68
file content (42 lines) | stat: -rw-r--r-- 786 bytes parent folder | download | duplicates (7)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*++
/* NAME
/*	error 3h
/* SUMMARY
/*	diagnostics handlers
/* SYNOPSIS
/*	#include <error.h>
/* DESCRIPTION
/* .nf

 /*
  * External interface.
  */
#ifndef PRINTFLIKE
#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7
#define PRINTFLIKE(x,y) __attribute__ ((format (printf, (x), (y))))
#else
#define PRINTFLIKE(x,y)
#endif
#endif
extern void PRINTFLIKE(1, 2) remark(char *,...);
extern void PRINTFLIKE(1, 2) error(char *,...);
extern void PRINTFLIKE(1, 2) panic(char *,...);
extern char *progname;
extern int verbose;

#ifdef MISSING_STRERROR

extern const char *strerror(int);

#endif

/* LICENSE
/* .ad
/* .fi
/*	The IBM Public License must be distributed with this software.
/* AUTHOR(S)
/*	Wietse Venema
/*	IBM T.J. Watson Research
/*	P.O. Box 704
/*	Yorktown Heights, NY 10598, USA
/*--*/