1*e7997c0dSjoerg /* $NetBSD: extern.h,v 1.6 2011/09/06 18:26:06 joerg Exp $ */ 289aaa1bbSagc 389aaa1bbSagc /*- 4ed6ed8e6Sagc * Copyright (c) 1991 Keith Muller. 589aaa1bbSagc * Copyright (c) 1993 689aaa1bbSagc * The Regents of the University of California. All rights reserved. 789aaa1bbSagc * 889aaa1bbSagc * This code is derived from software contributed to Berkeley by 989aaa1bbSagc * Keith Muller of the University of California, San Diego. 1089aaa1bbSagc * 1189aaa1bbSagc * Redistribution and use in source and binary forms, with or without 1289aaa1bbSagc * modification, are permitted provided that the following conditions 1389aaa1bbSagc * are met: 1489aaa1bbSagc * 1. Redistributions of source code must retain the above copyright 1589aaa1bbSagc * notice, this list of conditions and the following disclaimer. 1689aaa1bbSagc * 2. Redistributions in binary form must reproduce the above copyright 1789aaa1bbSagc * notice, this list of conditions and the following disclaimer in the 1889aaa1bbSagc * documentation and/or other materials provided with the distribution. 1989aaa1bbSagc * 3. Neither the name of the University nor the names of its contributors 2089aaa1bbSagc * may be used to endorse or promote products derived from this software 2189aaa1bbSagc * without specific prior written permission. 2289aaa1bbSagc * 2389aaa1bbSagc * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2489aaa1bbSagc * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2589aaa1bbSagc * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2689aaa1bbSagc * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2789aaa1bbSagc * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2889aaa1bbSagc * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2989aaa1bbSagc * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 3089aaa1bbSagc * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 3189aaa1bbSagc * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3289aaa1bbSagc * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3389aaa1bbSagc * SUCH DAMAGE. 3489aaa1bbSagc * 3589aaa1bbSagc * from: @(#)extern.h 8.1 (Berkeley) 6/6/93 36*e7997c0dSjoerg * $NetBSD: extern.h,v 1.6 2011/09/06 18:26:06 joerg Exp $ 37c4b27fe2Scgd */ 38c4b27fe2Scgd 39c4b27fe2Scgd extern int eoptind; 40c4b27fe2Scgd extern char *eoptarg; 41c4b27fe2Scgd 42*e7997c0dSjoerg int egetopt(int, char * const *, const char *); 43