/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | misc.c | 78 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_exec() 168 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_let() 190 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_eval() 224 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_dot_cmd() 351 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_shift() 377 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_wait() 408 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_bg() 426 errormsg(SH_DICT,ERROR_exit(1),e_no_job); in b_bg() 446 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_jobs() 477 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_universe() [all …]
|
H A D | ulimit.c | 36 #ifndef SH_DICT 37 # define SH_DICT "libshell" macro 46 errormsg(SH_DICT,ERROR_exit(2),e_nosupport); in b_ulimit() 102 errormsg(SH_DICT,2, e_notimp, opt_info.name); in b_ulimit() 105 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_ulimit() 124 errormsg(SH_DICT,ERROR_usage(2),optusage((char*)0)); in b_ulimit() 148 errormsg(SH_DICT,ERROR_system(1),e_number,limit); in b_ulimit() 158 errormsg(SH_DICT,ERROR_system(1),e_number,limit); in b_ulimit() 167 errormsg(SH_DICT,ERROR_system(1),e_number,limit); in b_ulimit() 177 errormsg(SH_DICT,ERROR_system(1),e_number,limit); in b_ulimit() [all …]
|
H A D | shiocmd_solaris.c | 30 #ifndef SH_DICT 31 # define SH_DICT "libshell" macro 551 errormsg(SH_DICT, 2, "%s", opt_info.arg); in b_open() 554 errormsg(SH_DICT, ERROR_usage(2), "%s", opt_info.arg); in b_open() 560 errormsg(SH_DICT, ERROR_usage(2), optusage((char*)0)); in b_open() 614 errormsg(SH_DICT, 2, "%s", opt_info.arg); in b_close() 679 errormsg(SH_DICT, 2, "%s", opt_info.arg); in b_tmpfile() 754 errormsg(SH_DICT, 2, "%s", opt_info.arg); in b_dup() 826 errormsg(SH_DICT, 2, "%s", opt_info.arg); in b_stat() 886 errormsg(SH_DICT, 2, "%s", opt_info.arg); in b_rewind() [all …]
|
H A D | poll_solaris.c | 30 #ifndef SH_DICT 31 # define SH_DICT "libshell" macro 261 errormsg(SH_DICT, ERROR_system(1), "%s: invalid timeout", opt_info.arg); in b_poll() 271 errormsg(SH_DICT, 2, "%s", opt_info.arg); in b_poll() 274 errormsg(SH_DICT, ERROR_usage(2), "%s", opt_info.arg); in b_poll() 280 errormsg(SH_DICT, ERROR_usage(2), optusage((char*)0)); in b_poll() 289 errormsg(SH_DICT, ERROR_system(1), "cannot find array variable %s", varname); in b_poll() 291 errormsg(SH_DICT, ERROR_system(1), "variable %s is not an array", varname); in b_poll() 329 errormsg(SH_DICT, ERROR_system(1), "invalid pollfd fd %d", fd); in b_poll() 339 errormsg(SH_DICT, ERROR_system(1), "missing pollfd events value"); in b_poll() [all …]
|
H A D | umask.c | 37 #ifndef SH_DICT 38 # define SH_DICT "libshell" macro 52 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_umask() 55 errormsg(SH_DICT,ERROR_usage(2), "%s",opt_info.arg); in b_umask() 59 errormsg(SH_DICT,ERROR_usage(2),"%s",optusage((char*)0)); in b_umask() 71 errormsg(SH_DICT,ERROR_exit(1),e_number,*argv); in b_umask() 82 errormsg(SH_DICT,ERROR_exit(1),e_format,mask); in b_umask()
|
H A D | hist.c | 60 errormsg(SH_DICT,ERROR_system(1),e_histopen); in b_hist() 94 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_hist() 97 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg); in b_hist() 101 errormsg(SH_DICT,ERROR_usage(2),"%s",optusage((char*)0)); in b_hist() 150 errormsg(SH_DICT,ERROR_exit(1),e_found,argv[1]); in b_hist() 179 errormsg(SH_DICT,ERROR_exit(1),e_eneedsarg); in b_hist() 193 errormsg(SH_DICT,ERROR_exit(1),e_create,""); in b_hist() 195 errormsg(SH_DICT,ERROR_system(1),e_create,fname); in b_hist() 222 errormsg(SH_DICT,ERROR_exit(1),"ed not found set FCEDIT"); in b_hist() 271 errormsg(SH_DICT,ERROR_exit(1),e_toodeep,"history"); in b_hist() [all …]
|
H A D | cflow.c | 56 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_return() 59 errormsg(SH_DICT,ERROR_usage(0), "%s", opt_info.arg); in b_return() 64 errormsg(SH_DICT,ERROR_usage(2),"%s",optusage((char*)0)); in b_return() 93 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_break() 96 errormsg(SH_DICT,ERROR_usage(0), "%s", opt_info.arg); in b_break() 100 errormsg(SH_DICT,ERROR_usage(2),"%s",optusage((char*)0)); in b_break() 107 errormsg(SH_DICT,ERROR_exit(1),e_nolabels,*argv); in b_break()
|
H A D | cd_pwd.c | 63 errormsg(SH_DICT,ERROR_exit(1),e_restricted+4); in b_cd() 73 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_cd() 76 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg); in b_cd() 83 errormsg(SH_DICT,ERROR_usage(2),"%s",optusage((char*)0)); in b_cd() 94 errormsg(SH_DICT,ERROR_exit(1),argc==2?e_subst+4:e_direct); in b_cd() 181 errormsg(SH_DICT,ERROR_system(1),"%s:",dir); in b_cd() 192 errormsg(SH_DICT,ERROR_system(1),"%s:",dir); in b_cd() 232 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_pwd() 235 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg); in b_pwd() 239 errormsg(SH_DICT,ERROR_usage(2),"%s",optusage((char*)0)); in b_pwd() [all …]
|
H A D | whence.c | 61 errormsg(SH_DICT,ERROR_exit(1),e_restricted,"-p"); in b_command() 76 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_command() 81 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg); in b_command() 88 errormsg(SH_DICT,ERROR_usage(2),"%s", optusage((char*)0)); in b_command() 121 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_whence() 124 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg); in b_whence() 129 errormsg(SH_DICT,ERROR_usage(2),optusage((char*)0)); in b_whence() 288 errormsg(SH_DICT,ERROR_exit(0),e_found,sh_fmtq(name)); in whence()
|
H A D | trap.c | 56 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_trap() 59 errormsg(SH_DICT,ERROR_usage(0), "%s", opt_info.arg); in b_trap() 65 errormsg(SH_DICT,ERROR_usage(2),"%s", optusage((char*)0)); in b_trap() 92 errormsg(SH_DICT,ERROR_exit(1),e_condition); in b_trap() 99 errormsg(SH_DICT,2,e_trap,arg); in b_trap() 109 errormsg(SH_DICT,2,e_trap,arg); in b_trap() 146 errormsg(SH_DICT,2,e_trap,arg); in b_trap() 198 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_kill() 214 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg); in b_kill() 238 errormsg(SH_DICT,ERROR_exit(1),e_nosignal,signame); in b_kill() [all …]
|
H A D | typeset.c | 102 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_readonly() 105 errormsg(SH_DICT,ERROR_usage(0), "%s", opt_info.arg); in b_readonly() 109 errormsg(SH_DICT,ERROR_usage(2),optusage(NIL(char*))); in b_readonly() 167 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_alias() 170 errormsg(SH_DICT,ERROR_usage(0), "%s", opt_info.arg); in b_alias() 355 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_typeset() 457 errormsg(SH_DICT,ERROR_exit(1),e_nounattr); in b_typeset() 574 errormsg(SH_DICT,ERROR_exit(1),e_badfun,name); in setall() 836 errormsg(SH_DICT,2, e_subcomvar,shp->prefix); in setall() 1010 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_builtin() [all …]
|
H A D | getopts.c | 83 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_getopts() 86 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg); in b_getopts() 92 errormsg(SH_DICT,ERROR_usage(2), "%s", optusage((char*)0)); in b_getopts() 129 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg); in b_getopts() 140 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_getopts() 163 errormsg(SH_DICT,ERROR_usage(2), "%s", optusage((char*)0)); in b_getopts()
|
H A D | sleep.c | 61 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_sleep() 64 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg); in b_sleep() 95 errormsg(SH_DICT,ERROR_exit(1),e_number,*argv); in b_sleep() 101 errormsg(SH_DICT,ERROR_exit(1),e_oneoperand); in b_sleep() 104 errormsg(SH_DICT,ERROR_exit(1),e_oneoperand); in b_sleep()
|
H A D | print.c | 226 errormsg(SH_DICT,ERROR_system(1),e_history); in b_print() 278 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_print() 281 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg); in b_print() 309 errormsg(SH_DICT,ERROR_system(1),msg); in b_print() 539 errormsg(SH_DICT,ERROR_exit(1),e_notset,string); in fmtbase64() 768 errormsg(SH_DICT,ERROR_exit(1),e_formspec,format); in extend() 873 errormsg(SH_DICT,ERROR_warn(0),e_charconst,argp); in extend() 881 errormsg(SH_DICT,ERROR_warn(0),e_overflow,argp); in extend() 887 errormsg(SH_DICT,ERROR_warn(0),e_overflow,argp); in extend() 948 errormsg(SH_DICT,ERROR_exit(1),e_formspec,format); in extend() [all …]
|
H A D | test.c | 123 errormsg(SH_DICT,ERROR_exit(2),e_missing,"']'"); in b_test() 161 errormsg(SH_DICT,ERROR_exit(2),e_badop,cp); in b_test() 178 errormsg(SH_DICT,ERROR_usage(2), "%s",opt_info.arg); in b_test() 231 errormsg(SH_DICT,ERROR_exit(2),e_badsyntax); in expr() 245 errormsg(SH_DICT,ERROR_exit(2),e_argument); in nxtarg() 264 errormsg(SH_DICT,ERROR_exit(2),e_missing,"')'"); in e3() 292 errormsg(SH_DICT,ERROR_exit(2),e_argument); in e3() 307 errormsg(SH_DICT,ERROR_exit(2),e_badop,binop); in e3() 458 errormsg(SH_DICT,ERROR_exit(2),e_badop,a); in test_unop()
|
H A D | alarm.c | 245 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_alarm() 248 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg); in b_alarm() 254 errormsg(SH_DICT,ERROR_usage(2),optusage((char*)0)); in b_alarm() 261 errormsg(SH_DICT,ERROR_usage(2),optusage((char*)0)); in b_alarm() 267 errormsg(SH_DICT,ERROR_exit(1),e_nospace); in b_alarm()
|
H A D | regress.c | 272 errormsg(SH_DICT, ERROR_usage(2), "%s", opt_info.arg); in b___regress__() 275 errormsg(SH_DICT, 2, "%s", opt_info.arg); in b___regress__() 335 errormsg(SH_DICT, ERROR_usage(2), "%s", optusage(NiL)); in b___regress__()
|
H A D | read.c | 112 errormsg(SH_DICT,ERROR_exit(1),e_query); in b_read() 138 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_read() 141 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg); in b_read() 146 errormsg(SH_DICT,ERROR_usage(2), "%s", optusage((char*)0)); in b_read() 150 errormsg(SH_DICT,ERROR_system(1),e_file+4); in b_read() 490 errormsg(SH_DICT,ERROR_exit(1),e_overlimit,"line length"); in sh_readline() 530 errormsg(SH_DICT,ERROR_warn(0),e_readonly, nv_name(np)); in sh_readline() 754 errormsg(SH_DICT,ERROR_warn(0),e_readonly, nv_name(np)); in sh_readline() 794 errormsg(SH_DICT,ERROR_warn(0),e_readonly, nv_name(np)); in sh_readline()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | shcomp.c | 91 errormsg(SH_DICT,2,"%s",opt_info.arg); in main() 94 errormsg(SH_DICT,ERROR_usage(2),"%s",opt_info.arg); in main() 102 errormsg(SH_DICT,ERROR_usage(2),"%s",optusage((char*)0)); in main() 114 errormsg(SH_DICT,ERROR_system(1),"%s: cannot create",cp); in main() 143 errormsg(SH_DICT,ERROR_exit(1),"dump failed"); in main() 148 errormsg(SH_DICT,ERROR_system(1),"I/O error"); in main()
|
H A D | args.c | 177 errormsg(SH_DICT,ERROR_exit(1), e_option, opt_info.name); in sh_argopts() 200 errormsg(SH_DICT,2, e_option, opt_info.arg); in sh_argopts() 290 errormsg(SH_DICT,2, "%s", opt_info.arg); in sh_argopts() 293 errormsg(SH_DICT,ERROR_usage(0), "%s", opt_info.arg); in sh_argopts() 311 errormsg(SH_DICT, ERROR_exit(1), in sh_argopts() 322 errormsg(SH_DICT,ERROR_usage(2),"%s",optusage(NIL(char*))); in sh_argopts() 359 errormsg(SH_DICT,2,e_cneedsarg); in sh_argopts() 360 errormsg(SH_DICT,ERROR_usage(2),optusage(NIL(char*))); in sh_argopts() 372 errormsg(SH_DICT,ERROR_usage(2),"-R requires scriptname"); in sh_argopts() 374 errormsg(SH_DICT,ERROR_system(3),e_create,ap->kiafile); in sh_argopts() [all …]
|
H A D | bash.c | 213 errormsg(SH_DICT,ERROR_ERROR,"cannot set and unset options simultaneously"); in b_shopt() 225 errormsg(SH_DICT,2, "%s", opt_info.arg); in b_shopt() 228 errormsg(SH_DICT,ERROR_usage(0), "%s", opt_info.arg); in b_shopt() 233 errormsg(SH_DICT,ERROR_usage(2),"%s",optusage(NIL(char*))); in b_shopt() 260 errormsg(SH_DICT,ERROR_ERROR, e_option, argv[opt_info.index]); in b_shopt()
|
H A D | lex.c | 411 errormsg(SH_DICT,ERROR_system(ERROR_NOEXEC),e_exec,cp); in sh_lex() 697 errormsg(SH_DICT,ERROR_warn(0),e_lexfuture,shp->inlineno,n); in sh_lex() 790 errormsg(SH_DICT,ERROR_warn(0),e_lexslash,shp->inlineno); in sh_lex() 822 errormsg(SH_DICT,ERROR_warn(0),e_lexobsolete1,shp->inlineno); in sh_lex() 898 errormsg(SH_DICT,ERROR_warn(0),e_lexusebrace,shp->inlineno); in sh_lex() 1078 errormsg(SH_DICT,ERROR_warn(0),e_lexslash,shp->inlineno); in sh_lex() 1161 errormsg(SH_DICT,ERROR_warn(0),e_lexnested,shp->inlineno); in sh_lex() 1460 errormsg(SH_DICT,ERROR_warn(0),e_lexobsolete3,shp->inlineno); in sh_lex() 1490 errormsg(SH_DICT, ERROR_warn(0), in sh_lex() 1517 errormsg(SH_DICT,ERROR_warn(0),e_lexobsolete6,shp->inlineno); in sh_lex() [all …]
|
H A D | io.c | 606 errormsg(SH_DICT,ERROR_system(1),e_toomany); in io_preserve() 667 errormsg(SH_DICT,ERROR_system(1),e_file+4); in sh_iorenumber() 900 errormsg(SH_DICT,ERROR_system(1),e_pipe); in sh_pipe() 923 errormsg(SH_DICT,ERROR_system(1),e_pipe); in sh_rpipe() 941 errormsg(SH_DICT,ERROR_system(1),e_pipe); in sh_coaccept() 966 errormsg(SH_DICT,ERROR_system(1),e_pipe); in sh_copipe() 978 errormsg(SH_DICT,ERROR_system(1),e_pipe); in sh_copipe() 1242 errormsg(SH_DICT,ERROR_system(1),e_file+4); in sh_redirect() 1695 errormsg(SH_DICT,ERROR_exit(4),e_nospace); in sh_iosave() 1952 errormsg(SH_DICT,2,e_timeout); in time_grace() [all …]
|
H A D | main.c | 273 errormsg(SH_DICT,ERROR_system(1),e_open,name); in sh_main() 327 errormsg(SH_DICT,ERROR_system(ERROR_NOEXEC),e_open,name); in sh_main() 533 errormsg(SH_DICT,ERROR_warn(0),"%d: mode changed to JMP_EXIT",getpid()); in exfile() 547 errormsg(SH_DICT,0,e_logout); in exfile() 666 errormsg(SH_DICT,0,sh_mactry(shp,qp?qp+1:(char*)e_mailmsg)); in chkmail()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/ |
H A D | hexpand.c | 326 errormsg(SH_DICT, ERROR_ERROR, "%s: event not found", evp); 431 errormsg(SH_DICT, ERROR_ERROR, "%s: bad word specifier", evp); 491 errormsg(SH_DICT, ERROR_ERROR, "%s: bad word specifier", evp); 551 errormsg(SH_DICT, ERROR_ERROR, "%c: unrecognized history modifier", c); 601 errormsg(SH_DICT, ERROR_ERROR, 629 errormsg(SH_DICT, ERROR_ERROR,
|