xref: /plan9/sys/include/ape/error.h (revision 3e12c5d1bb89fc02707907988834ef147769ddaf)
1 #ifndef __ERROR_H
2 #define __ERROR_H
3 #ifndef _RESEARCH_SOURCE
4    This header file is not defined in pure ANSI or POSIX
5 #endif
6 #pragma lib "/$M/lib/ape/libv.a"
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 extern char *_progname;		/* program name */
13 extern void _perror(char *);	/* perror but with _progname */
14 
15 #ifdef __cplusplus
16 }
17 #endif
18 
19 #endif /* _ERROR_H */
20