Current File : //usr/include/err.h
/*
 * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
 */

#ifndef	_ERR_H
#define	_ERR_H

#ifdef __cplusplus
extern "C" {
#endif

#include <stdio.h>
#include <stdarg.h>

/* Program exit and warning calls */
void err(int, const char *, ...) __NORETURN;
void verr(int, const char *, va_list) __NORETURN;
void errx(int, const char *, ...) __NORETURN;
void verrx(int, const char *, va_list) __NORETURN;
void warn(const char *, ...);
void vwarn(const char *, va_list);
void warnx(const char *, ...);
void vwarnx(const char *, va_list);

#ifdef __cplusplus
}
#endif

#endif	/* _ERR_H */