1*03100a63Svk199839 /* 2*03100a63Svk199839 * CDDL HEADER START 3*03100a63Svk199839 * 4*03100a63Svk199839 * The contents of this file are subject to the terms of the 5*03100a63Svk199839 * Common Development and Distribution License (the "License"). 6*03100a63Svk199839 * You may not use this file except in compliance with the License. 7*03100a63Svk199839 * 8*03100a63Svk199839 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*03100a63Svk199839 * or http://www.opensolaris.org/os/licensing. 10*03100a63Svk199839 * See the License for the specific language governing permissions 11*03100a63Svk199839 * and limitations under the License. 12*03100a63Svk199839 * 13*03100a63Svk199839 * When distributing Covered Code, include this CDDL HEADER in each 14*03100a63Svk199839 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*03100a63Svk199839 * If applicable, add the following below this CDDL HEADER, with the 16*03100a63Svk199839 * fields enclosed by brackets "[]" replaced with your own identifying 17*03100a63Svk199839 * information: Portions Copyright [yyyy] [name of copyright owner] 18*03100a63Svk199839 * 19*03100a63Svk199839 * CDDL HEADER END 20*03100a63Svk199839 */ 21*03100a63Svk199839 22*03100a63Svk199839 #ifndef _STRTONUM_H 23*03100a63Svk199839 #define _STRTONUM_H 24*03100a63Svk199839 25*03100a63Svk199839 #pragma ident "%Z%%M% %I% %E% SMI" 26*03100a63Svk199839 27*03100a63Svk199839 unsigned int 28*03100a63Svk199839 strtonum(const char *numstr, unsigned int minval, unsigned int maxval, 29*03100a63Svk199839 const char **errstrp); 30*03100a63Svk199839 31*03100a63Svk199839 #endif /* _STRTONUM_H */ 32