err.c revision a574db851cdc636fc3939b68e80d79fe7fbd57f2
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include "synonyms.h"
#include "file64.h"
#include "mtlib.h"
#include <err.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <errno.h>
#include "stdiom.h"
static const char *progname;
/*
* warncore() is the workhorse of these functions. Everything else has
* a warncore() component in it.
*/
static rmutex_t *
{
const char *execname;
execname = getexecname();
progname++;
else
}
}
return (lk);
}
/* Finish a warning with a newline and a flush of stderr. */
static void
{
}
void
{
}
void
{
}
void
{
}
}
void
{
}
/* PRINTFLIKE1 */
void
{
}
void
{
}
void
{
}
/* PRINTFLIKE1 */
void
{
}
/* PRINTFLIKE2 */
void
{
}
void
{
}
void
{
}
void
{
}
/* PRINTFLIKE2 */
void
{
}
void
{
}
void
{
}
void
{
}