plan9fox/sys/include/ape/error.h
2011-03-30 19:35:09 +03:00

20 lines
356 B
C

#ifndef __ERROR_H
#define __ERROR_H
#ifndef _RESEARCH_SOURCE
This header file is not defined in pure ANSI or POSIX
#endif
#pragma lib "/$M/lib/ape/libv.a"
#ifdef __cplusplus
extern "C" {
#endif
extern char *_progname; /* program name */
extern void _perror(char *); /* perror but with _progname */
#ifdef __cplusplus
}
#endif
#endif /* _ERROR_H */