110d63b7dSRichard Lowe /* 210d63b7dSRichard Lowe * CDDL HEADER START 310d63b7dSRichard Lowe * 410d63b7dSRichard Lowe * The contents of this file are subject to the terms of the 510d63b7dSRichard Lowe * Common Development and Distribution License (the "License"). 610d63b7dSRichard Lowe * You may not use this file except in compliance with the License. 710d63b7dSRichard Lowe * 810d63b7dSRichard Lowe * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 910d63b7dSRichard Lowe * or http://www.opensolaris.org/os/licensing. 1010d63b7dSRichard Lowe * See the License for the specific language governing permissions 1110d63b7dSRichard Lowe * and limitations under the License. 1210d63b7dSRichard Lowe * 1310d63b7dSRichard Lowe * When distributing Covered Code, include this CDDL HEADER in each 1410d63b7dSRichard Lowe * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1510d63b7dSRichard Lowe * If applicable, add the following below this CDDL HEADER, with the 1610d63b7dSRichard Lowe * fields enclosed by brackets "[]" replaced with your own identifying 1710d63b7dSRichard Lowe * information: Portions Copyright [yyyy] [name of copyright owner] 1810d63b7dSRichard Lowe * 1910d63b7dSRichard Lowe * CDDL HEADER END 2010d63b7dSRichard Lowe */ 2110d63b7dSRichard Lowe /* 2210d63b7dSRichard Lowe * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 2310d63b7dSRichard Lowe * Use is subject to license terms. 2410d63b7dSRichard Lowe */ 2510d63b7dSRichard Lowe 26*e7afc443SToomas Soome #ifndef _MKSH_DOSYS_H 27*e7afc443SToomas Soome #define _MKSH_DOSYS_H 28*e7afc443SToomas Soome 2910d63b7dSRichard Lowe #include <mksh/defs.h> 3010d63b7dSRichard Lowe #include <vroot/vroot.h> 3110d63b7dSRichard Lowe 32*e7afc443SToomas Soome extern Boolean await(Boolean, Boolean, Name, wchar_t *, pid_t, void *, int); 33*e7afc443SToomas Soome extern int doexec(wchar_t *, Boolean, char *, char *, pathpt, int); 34*e7afc443SToomas Soome extern int doshell(wchar_t *, Boolean, char *, char *, int); 35*e7afc443SToomas Soome extern void redirect_io(char *, char *); 36*e7afc443SToomas Soome extern void sh_command2string(String, String); 3710d63b7dSRichard Lowe 38*e7afc443SToomas Soome #endif /* _MKSH_DOSYS_H */ 39