openenvutils/commandshell/shell/inc/exec.epro
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 /* Generated automatically */
       
     2 #ifndef have_Src_exec_globals
       
     3 #define have_Src_exec_globals
       
     4 
       
     5 extern int noerrexit;
       
     6 extern mod_import_variable int noerrs;
       
     7 extern int nohistsave;
       
     8 extern mod_import_variable int errflag;
       
     9 extern int trapreturn;
       
    10 extern int subsh;
       
    11 extern mod_import_variable int retflag;
       
    12 extern long lastval2;
       
    13 extern char*fdtable;
       
    14 extern int fdtable_size;
       
    15 extern int max_zsh_fd;
       
    16 extern mod_import_variable int coprocin;
       
    17 extern mod_import_variable int coprocout;
       
    18 extern mod_import_variable int zleactive;
       
    19 extern pid_t cmdoutpid;
       
    20 extern int cmdoutval;
       
    21 extern mod_import_variable int sfcontext;
       
    22 extern struct execstack*exstack;
       
    23 extern mod_import_variable Funcstack funcstack;
       
    24 extern mod_import_function Eprog parse_string _((char*s));
       
    25 #ifdef HAVE_GETRLIMIT
       
    26 extern mod_import_variable struct rlimit current_limits[RLIM_NLIMITS];
       
    27 extern mod_import_variable struct rlimit limits[RLIM_NLIMITS];
       
    28 extern mod_import_function int zsetlimit _((int limnum,char*nam));
       
    29 extern mod_import_function int setlimits _((char*nam));
       
    30 #endif /* HAVE_GETRLIMIT */
       
    31 extern int list_pipe;
       
    32 extern int simple_pline;
       
    33 extern void execute _((UNUSED(Cmdnam cmdname),int dash,int defpath));
       
    34 extern mod_import_function char*findcmd _((char*arg0,int docopy));
       
    35 extern int iscom _((char*s));
       
    36 extern int isreallycom _((Cmdnam cn));
       
    37 extern int isrelative _((char*s));
       
    38 extern mod_import_function Cmdnam hashcmd _((char*arg0,char**pp));
       
    39 extern mod_import_function void execstring _((char*s,int dont_change_job,int exiting));
       
    40 extern mod_import_function void execode _((Eprog p,int dont_change_job,int exiting));
       
    41 extern void execlist _((Estate state,int dont_change_job,int exiting));
       
    42 extern mod_import_function void untokenize _((char*s));
       
    43 extern void setunderscore _((char*str));
       
    44 extern void execsubst _((LinkList strs));
       
    45 extern int forklevel;
       
    46 extern mod_import_function void closem _((int how));
       
    47 extern char*gethere _((char*str,int typ));
       
    48 extern LinkList getoutput _((char*cmd,int qt));
       
    49 extern mod_import_function LinkList readoutput _((int in,int qt));
       
    50 extern char*getoutputfile _((char*cmd));
       
    51 extern char*getproc _((char*cmd));
       
    52 extern Shfunc loadautofn _((Shfunc shf,int fksh,int autol));
       
    53 extern mod_import_function int doshfunc _((char*name,Eprog prog,LinkList doshargs,int flags,int noreturnval));
       
    54 extern mod_import_function void runshfunc _((Eprog prog,FuncWrap wrap,char*name));
       
    55 extern Eprog getfpfunc _((char*s,int*ksh));
       
    56 extern Eprog stripkshdef _((Eprog prog,char*name));
       
    57 extern void execsave _((void));
       
    58 extern void execrestore _((void));
       
    59 
       
    60 #endif /* !have_Src_exec_globals */