/*
* 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.
*/
/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
#pragma ident "%Z%%M% %I% %E% SMI"
#include "lint.h"
#include <sys/priocntl.h>
#include <stdarg.h>
#include <errno.h>
/*
* The declarations of __priocntlset() and __priocntl() were in prior releases
* in <sys/priocntl.h>. They are used to define PC_VERSION at compile time,
* based on the contents of the header file. This behavior is now changed.
* Old binaries call __priocntl() and __priocntlset() instead of priocntl()
* and priocntlset(). New binaries call priocntl() and priocntlset().
*/
/*
* defined in priocntlset.s
*/
long
{
}
/*VARARGS3*/
long
{
int error;
}
if (error) {
return (-1);
}
}
/*VARARGS2*/
long
{
int error;
}
if (error) {
return (-1);
}
}
static int
{
int key;
for (vp->pc_vaparmscnt = 0;
return (EINVAL);
}
return (0);
}