arith.h revision 119578
115920Speter/*- 215920Speter * Copyright (c) 1995 315920Speter * The Regents of the University of California. All rights reserved. 415920Speter * 515920Speter * Redistribution and use in source and binary forms, with or without 615920Speter * modification, are permitted provided that the following conditions 715920Speter * are met: 815920Speter * 1. Redistributions of source code must retain the above copyright 915920Speter * notice, this list of conditions and the following disclaimer. 1015920Speter * 2. Redistributions in binary form must reproduce the above copyright 1115920Speter * notice, this list of conditions and the following disclaimer in the 1215920Speter * documentation and/or other materials provided with the distribution. 1315920Speter * 3. All advertising materials mentioning features or use of this software 1415920Speter * must display the following acknowledgement: 1515920Speter * This product includes software developed by the University of 1615920Speter * California, Berkeley and its contributors. 1715920Speter * 4. Neither the name of the University nor the names of its contributors 1815920Speter * may be used to endorse or promote products derived from this software 1915920Speter * without specific prior written permission. 2015920Speter * 2115920Speter * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2215920Speter * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2315920Speter * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2415920Speter * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2515920Speter * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2615920Speter * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2715920Speter * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2815920Speter * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2915920Speter * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3015920Speter * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3115920Speter * SUCH DAMAGE. 3215920Speter * 3315920Speter * @(#)arith.h 1.1 (Berkeley) 5/4/95 3450471Speter * $FreeBSD: head/bin/sh/arith.h 119578 2003-08-30 12:31:44Z schweikh $ 3515920Speter */ 3615920Speter 37119578Sschweikhint arith_assign(char *, arith_t); 3890111Simpint arith(char *); 3990111Simpint expcmd(int , char **); 40