1 /* @(#)dat.c 1.5 16/09/10 Copyright 2006-2016 J. Schilling */ 2 /* 3 * Global data 4 * 5 * Copyright (c) 2006-2016 J. Schilling 6 */ 7 /* 8 * The contents of this file are subject to the terms of the 9 * Common Development and Distribution License, Version 1.0 only 10 * (the "License"). You may not use this file except in compliance 11 * with the License. 12 * 13 * See the file CDDL.Schily.txt in this distribution for details. 14 * A copy of the CDDL is also available via the Internet at 15 * http://www.opensource.org/licenses/cddl1.txt 16 * 17 * When distributing Covered Code, include this CDDL HEADER in each 18 * file and include the License file CDDL.Schily.txt from this distribution. 19 */ 20 21 #include <schily/mconfig.h> 22 #include <schily/unistd.h> /* STDIN_FILENO */ 23 24 #include <schily/stdio.h> 25 26 int __in__ = STDIN_FILENO; 27 int __out__ = STDOUT_FILENO; 28 int __err__ = STDERR_FILENO; 29 30 FILE *gstd[3]; 31 char **evarray; 32 33 int delim; 34 int ctlc; 35 int ex_status; 36 int ttyflg = 1; 37 int prflg = 1; 38 int prompt; 39 char *prompts[2] = { "prompt1 > ", "prompt2 > " }; 40 char *inithome = "."; 41 42 char *(*__get_env) __PR((char *name)); 43 void (*__put_env) __PR((char *name)); 44