1*7aec1d6eScindi /* 2*7aec1d6eScindi * CDDL HEADER START 3*7aec1d6eScindi * 4*7aec1d6eScindi * The contents of this file are subject to the terms of the 5*7aec1d6eScindi * Common Development and Distribution License (the "License"). 6*7aec1d6eScindi * You may not use this file except in compliance with the License. 7*7aec1d6eScindi * 8*7aec1d6eScindi * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*7aec1d6eScindi * or http://www.opensolaris.org/os/licensing. 10*7aec1d6eScindi * See the License for the specific language governing permissions 11*7aec1d6eScindi * and limitations under the License. 12*7aec1d6eScindi * 13*7aec1d6eScindi * When distributing Covered Code, include this CDDL HEADER in each 14*7aec1d6eScindi * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*7aec1d6eScindi * If applicable, add the following below this CDDL HEADER, with the 16*7aec1d6eScindi * fields enclosed by brackets "[]" replaced with your own identifying 17*7aec1d6eScindi * information: Portions Copyright [yyyy] [name of copyright owner] 18*7aec1d6eScindi * 19*7aec1d6eScindi * CDDL HEADER END 20*7aec1d6eScindi */ 21*7aec1d6eScindi 22*7aec1d6eScindi /* 23*7aec1d6eScindi * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24*7aec1d6eScindi * Use is subject to license terms. 25*7aec1d6eScindi */ 26*7aec1d6eScindi 27*7aec1d6eScindi #pragma ident "%Z%%M% %I% %E% SMI" 28*7aec1d6eScindi 29*7aec1d6eScindi #include <unistd.h> 30*7aec1d6eScindi #include <stdio.h> 31*7aec1d6eScindi #include <stdlib.h> 32*7aec1d6eScindi #include <string.h> 33*7aec1d6eScindi #include <strings.h> 34*7aec1d6eScindi #include <limits.h> 35*7aec1d6eScindi #include <alloca.h> 36*7aec1d6eScindi #include <kstat.h> 37