Lines Matching refs:EXTERN
177 #ifdef EXTERN
485 #ifdef EXTERN
489 # define EXTERN extern macro
505 EXTERN const char *safe_prompt; /* safe prompt if PS1 substitution fails */
512 EXTERN const char initvsn[] E_INIT("KSH_VERSION=@(#)" KSH_VERSIONNAME \
516 EXTERN const char digits_uc[] E_INIT("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ");
517 EXTERN const char digits_lc[] E_INIT("0123456789abcdefghijklmnopqrstuvwxyz");
714 EXTERN Area aperm; /* permanent object space */
748 EXTERN struct sretrace_info *retrace_info E_INIT(NULL);
749 EXTERN int subshell_nesting_type E_INIT(0);
799 EXTERN pid_t procpid; /* PID of executing process */
800 EXTERN int exstat; /* exit status */
801 EXTERN int subst_exstat; /* exit status of last $(..)/`..` */
802 EXTERN struct tbl *vp_pipest; /* global PIPESTATUS array */
803 EXTERN short trap_exstat; /* exit status before running a trap */
804 EXTERN uint8_t trap_nested; /* running nested traps */
805 EXTERN uint8_t shell_flags[FNFLAGS];
806 EXTERN const char *kshname; /* $0 */
807 EXTERN struct {
835 EXTERN char null[] E_INIT("");
837 EXTERN const char Tintovfl[] E_INIT("integer overflow %zu %c %zu prevented");
838 EXTERN const char Toomem[] E_INIT("can't allocate %zu data bytes");
843 EXTERN const char Tsynerr[] E_INIT("syntax error");
845 EXTERN const char Tselect[] E_INIT("select");
846 EXTERN const char T_typeset[] E_INIT("=typeset");
848 EXTERN const char Talias[] E_INIT("alias");
849 EXTERN const char Tunalias[] E_INIT("unalias");
850 EXTERN const char Tcat[] E_INIT("cat");
852 EXTERN const char Textproc[] E_INIT("extproc");
855 EXTERN const char Tprintf[] E_INIT("printf");
857 EXTERN const char Tsgset[] E_INIT("*=set");
859 EXTERN const char Tsgexport[] E_INIT("*=export");
861 EXTERN const char Tsgreadonly[] E_INIT("*=readonly");
863 EXTERN const char Tgbuiltin[] E_INIT("=builtin");
865 EXTERN const char T_function[] E_INIT(" function");
867 EXTERN const char T_funny_command[] E_INIT("funny $() command");
869 EXTERN const char TC_LEX1[] E_INIT("|&;<>() \t\n");
901 EXTERN bool shl_stdout_ok;
942 EXTERN volatile sig_atomic_t trap; /* traps pending? */
943 EXTERN volatile sig_atomic_t intrsig; /* pending trap interrupts command */
944 EXTERN volatile sig_atomic_t fatal_trap; /* received a fatal signal */
949 EXTERN volatile sig_atomic_t got_winch E_INIT(1);
963 EXTERN unsigned int ksh_tmout;
964 EXTERN enum tmout_enum ksh_tmout_state E_INIT(TMOUT_EXECUTING);
967 EXTERN bool really_exit;
1002 EXTERN int ifs0 E_INIT(' '); /* for "$*" */
1030 EXTERN Getopt builtin_opt; /* for shell builtin commands */
1031 EXTERN Getopt user_opt; /* parsing state for getopts builtin command */
1046 EXTERN struct coproc coproc;
1050 EXTERN sigset_t sm_default, sm_sigchld;
1054 EXTERN const char *builtin_argv0;
1056 EXTERN bool builtin_spec;
1059 EXTERN char *current_wd;
1073 EXTERN mksh_ari_t x_cols E_INIT(80); /* tty columns */
1074 EXTERN mksh_ari_t x_lins E_INIT(24); /* tty lines */
1192 EXTERN struct tbl vtemp;
1194 EXTERN bool last_lookup_was_array;
1304 EXTERN struct table taliases; /* tracked aliases */
1305 EXTERN struct table builtins; /* built-in commands */
1306 EXTERN struct table aliases; /* aliases */
1307 EXTERN struct table keywords; /* keywords */
1309 EXTERN struct table homedirs; /* homedir() cache */
1323 EXTERN char *path; /* copy of either PATH or def_path */
1324 EXTERN const char *def_path; /* path to use if PATH not set */
1325 EXTERN char *tmpdir; /* TMPDIR value */
1326 EXTERN const char *prompt;
1327 EXTERN uint8_t cur_prompt; /* PS1 or PS2 */
1328 EXTERN int current_lineno; /* LINENO value */
1653 EXTERN Source *source; /* yyparse/yylex source */
1654 EXTERN YYSTYPE yylval; /* result from yylex */
1655 EXTERN struct ioword *heres[HERES], **herep;
1656 EXTERN char ident[IDENT + 1];
1658 EXTERN char **history; /* saved commands */
1659 EXTERN char **histptr; /* last history item */
1660 EXTERN mksh_ari_t histsize; /* history size */
1670 EXTERN struct timeval j_usrtime, j_systime;
2099 EXTERN int tty_fd E_INIT(-1); /* dup'd tty file descriptor */
2100 EXTERN bool tty_devtty; /* true if tty_fd is from /dev/tty */
2101 EXTERN mksh_ttyst tty_state; /* saved tty state */
2102 EXTERN bool tty_hasstate; /* true if tty_state is valid */
2136 # undef EXTERN