/usr/include/zsh/exec.epro is in zsh-dev 5.0.2-3ubuntu6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | /* Generated automatically */
#ifndef have_Src_exec_globals
#define have_Src_exec_globals
extern int noerrexit;
extern mod_import_variable int noerrs;
extern int nohistsave;
extern mod_import_variable int errflag;
extern int trap_state;
extern int trap_return;
extern int subsh;
extern mod_import_variable int retflag;
extern long lastval2;
extern mod_import_variable unsigned char*fdtable;
extern int fdtable_size;
extern mod_import_variable int max_zsh_fd;
extern mod_import_variable int coprocin;
extern mod_import_variable int coprocout;
extern int fdtable_flocks;
extern mod_import_variable int zleactive;
extern pid_t cmdoutpid;
extern int cmdoutval;
extern int use_cmdoutval;
extern mod_import_variable int sfcontext;
extern struct execstack*exstack;
extern mod_import_variable Funcstack funcstack;
extern mod_import_function Eprog parse_string _((char*s,int reset_lineno));
#ifdef HAVE_GETRLIMIT
extern mod_import_variable struct rlimit current_limits[RLIM_NLIMITS];
extern mod_import_variable struct rlimit limits[RLIM_NLIMITS];
extern mod_import_function int zsetlimit _((int limnum,char*nam));
extern mod_import_function int setlimits _((char*nam));
#endif /* HAVE_GETRLIMIT */
extern int list_pipe;
extern int simple_pline;
extern mod_import_function char*findcmd _((char*arg0,int docopy));
extern int iscom _((char*s));
extern int isreallycom _((Cmdnam cn));
extern int isrelative _((char*s));
extern mod_import_function Cmdnam hashcmd _((char*arg0,char**pp));
extern int forklevel;
extern mod_import_function void execstring _((char*s,int dont_change_job,int exiting,char*context));
extern mod_import_function void execode _((Eprog p,int dont_change_job,int exiting,char*context));
extern void execlist _((Estate state,int dont_change_job,int exiting));
extern mod_import_function void untokenize _((char*s));
extern void quote_tokenized_output _((char*str,FILE*file));
extern void setunderscore _((char*str));
extern void execsubst _((LinkList strs));
extern mod_import_function void closem _((int how));
extern char*gethere _((char**strp,int typ));
extern LinkList getoutput _((char*cmd,int qt));
extern mod_import_function LinkList readoutput _((int in,int qt));
extern char*getoutputfile _((char*cmd,char**eptr));
extern char*getproc _((char*cmd,char**eptr));
extern mod_import_function Emulation_options sticky_emulation_dup _((Emulation_options src,int useheap));
extern mod_import_function void shfunc_set_sticky _((Shfunc shf));
extern Shfunc loadautofn _((Shfunc shf,int fksh,int autol));
extern int sticky_emulation_differs _((Emulation_options sticky2));
extern mod_import_function int doshfunc _((Shfunc shfunc,LinkList doshargs,int noreturnval));
extern mod_import_function void runshfunc _((Eprog prog,FuncWrap wrap,char*name));
extern Eprog getfpfunc _((char*s,int*ksh,char**fname));
extern Eprog stripkshdef _((Eprog prog,char*name));
extern void execsave _((void));
extern void execrestore _((void));
#endif /* !have_Src_exec_globals */
|