1*3625efb1SRichard Lowe #ifndef _MKSH_DOSYS_H 2*3625efb1SRichard Lowe #define _MKSH_DOSYS_H 3*3625efb1SRichard Lowe /* 4*3625efb1SRichard Lowe * CDDL HEADER START 5*3625efb1SRichard Lowe * 6*3625efb1SRichard Lowe * The contents of this file are subject to the terms of the 7*3625efb1SRichard Lowe * Common Development and Distribution License (the "License"). 8*3625efb1SRichard Lowe * You may not use this file except in compliance with the License. 9*3625efb1SRichard Lowe * 10*3625efb1SRichard Lowe * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 11*3625efb1SRichard Lowe * or http://www.opensolaris.org/os/licensing. 12*3625efb1SRichard Lowe * See the License for the specific language governing permissions 13*3625efb1SRichard Lowe * and limitations under the License. 14*3625efb1SRichard Lowe * 15*3625efb1SRichard Lowe * When distributing Covered Code, include this CDDL HEADER in each 16*3625efb1SRichard Lowe * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 17*3625efb1SRichard Lowe * If applicable, add the following below this CDDL HEADER, with the 18*3625efb1SRichard Lowe * fields enclosed by brackets "[]" replaced with your own identifying 19*3625efb1SRichard Lowe * information: Portions Copyright [yyyy] [name of copyright owner] 20*3625efb1SRichard Lowe * 21*3625efb1SRichard Lowe * CDDL HEADER END 22*3625efb1SRichard Lowe */ 23*3625efb1SRichard Lowe /* 24*3625efb1SRichard Lowe * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 25*3625efb1SRichard Lowe * Use is subject to license terms. 26*3625efb1SRichard Lowe */ 27*3625efb1SRichard Lowe 28*3625efb1SRichard Lowe #include <mksh/defs.h> 29*3625efb1SRichard Lowe #include <vroot/vroot.h> 30*3625efb1SRichard Lowe 31*3625efb1SRichard Lowe extern Boolean await(register Boolean ignore_error, register Boolean silent_error, Name target, wchar_t *command, pid_t running_pid, void *xdrs, int job_msg_id); 32*3625efb1SRichard Lowe extern int doexec(register wchar_t *command, register Boolean ignore_error, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); 33*3625efb1SRichard Lowe extern int doshell(wchar_t *command, register Boolean ignore_error, char *stdout_file, char *stderr_file, int nice_prio); 34*3625efb1SRichard Lowe extern void redirect_io(char *stdout_file, char *stderr_file); 35*3625efb1SRichard Lowe extern void sh_command2string(register String command, register String destination); 36*3625efb1SRichard Lowe 37*3625efb1SRichard Lowe #endif 38