Plan 9 from Bell Labs’s /usr/web/sources/contrib/steve/root/sys/src/cmd/refer/error.h

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


/* declarations for error(3) */
#ifndef _ERROR_H
#define	_ERROR_H
extern char	*progname;
char *mkprogname(const char *argv0);
void error(char *fmt, ...);
typedef void (*__ERRFN)(void);
void (*errcleanup(__ERRFN))(void);
FILE	*efopen(char *file, char *mode);
FILE	*efreopen(char *file, char *mode, FILE *fp);
void *emalloc(unsigned n, char *itemname);
void *erealloc(void *p, unsigned n, char *itemname);
#endif

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.