/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | expr.c | 196 error(ERROR_exit(2), "argument expected"); in getnode() 204 error(ERROR_exit(2), "string argument expected"); in getnode() 206 error(ERROR_exit(2), "chars argument expected"); in getnode() 216 error(ERROR_exit(2), "string argument expected"); in getnode() 233 error(ERROR_exit(2), "string argument expected"); in getnode() 313 regfatal(&re, ERROR_exit(2), n); in expr_cond() 334 regfatal(&re, ERROR_exit(2), n); in expr_cond() 355 error(ERROR_exit(2),"non-numeric argument"); in expr_mult() 357 error(ERROR_exit(2),"division by zero"); in expr_mult() 384 error(ERROR_exit(2),"non-numeric argument"); in expr_add() [all …]
|
H A D | tail.c | 531 error(ERROR_exit(1), "%s: invalid elapsed time [%s]", opt_info.arg, s); in b_tail()
|
H A D | chgrp.c | 192 error(ERROR_exit(1), "%s: unknown user", s); in getids() 212 error(ERROR_exit(1), "%s: unknown group", s); in getids() 277 error(ERROR_exit(1), "%s: cannot stat", opt_info.arg); in b_chgrp() 295 error(ERROR_exit(1), "out of space [id map]"); in b_chgrp() 305 error(ERROR_exit(1), "%s: cannot stat", opt_info.arg); in b_chgrp() 360 error(ERROR_exit(1), "%s: cannot read", s); in b_chgrp() 367 error(ERROR_exit(1), "out of space [id dictionary]"); in b_chgrp()
|
H A D | tee.c | 196 error(ERROR_exit(0), "out of space"); in b_tee()
|
H A D | paste.c | 257 error(ERROR_exit(1), "out of space"); in b_paste()
|
H A D | stty.c | 648 error(ERROR_exit(1),"%s: unknown mode",cp); in set() 653 error(ERROR_exit(1),"%s: unknown mode",cp); in set() 655 error(ERROR_exit(1),"missing argument to %s",cp); in set() 729 error(ERROR_exit(1), "%s: missing numeric argument", tp->name); in set() 734 error(ERROR_exit(1), "%s: %s: numeric argument expected", tp->name, cp); in set() 751 error(ERROR_exit(1), "%s: %s: invalid speed", tp->name, cp); in set() 944 error(ERROR_exit(1), "%s: unknown mode", argv[opt_info.index]); in b_stty()
|
H A D | mkdir.c | 88 error(ERROR_exit(0), "%s: invalid mode", opt_info.arg); in b_mkdir()
|
H A D | mkfifo.c | 69 error(ERROR_exit(0), "%s: invalid mode", arg); in b_mkfifo()
|
H A D | mktemp.c | 92 error(ERROR_exit(0), "%s: invalid mode", pfx); in b_mktemp()
|
H A D | id.c | 235 error(ERROR_exit(1), "out of space [group array]"); in getids() 254 error(ERROR_exit(1), "%s: name not found", name); in getids() 267 error(ERROR_exit(1), "%u: fss name not found", name); in getids()
|
H A D | cut.c | 141 error(ERROR_exit(1), "out of space"); in cutinit() 175 error(ERROR_exit(1),"invalid range for c/f option"); in cutinit() 233 error(ERROR_exit(1),"bad list for c/f option"); in cutinit() 240 error(ERROR_exit(1),"bad list for c/f option"); in cutinit()
|
H A D | cmp.c | 172 error(ERROR_exit(2), in cmp() 179 error(ERROR_exit(1), "EOF on %s", file1); in cmp() 182 error(ERROR_exit(2), in cmp() 197 error(ERROR_exit(2), in cmp() 201 error(ERROR_exit(1), "EOF on %s", file2); in cmp() 353 error(ERROR_exit(0), "%s: %s: invalid skip", file1, s); in b_cmp() 361 error(ERROR_exit(0), "%s: %s: invalid skip", file2, s); in b_cmp() 374 error(ERROR_exit(0), "EOF on %s", file1); in b_cmp() 381 error(ERROR_exit(0), "EOF on %s", file2); in b_cmp()
|
H A D | chmod.c | 209 error(ERROR_exit(1), "%s: cannot stat", opt_info.arg); in b_chmod() 259 error(ERROR_exit(1), "%s: invalid mode", amode); in b_chmod()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | path.c | 517 errormsg(SH_DICT,ERROR_exit(1),e_restricted,name); in path_opentype() 646 errormsg(SH_DICT,ERROR_exit(ERROR_NOEXEC),e_funload,name,pname); in funload() 1016 errormsg(SH_DICT,ERROR_exit(1),e_restricted,arg0); in path_exec() 1044 errormsg(SH_DICT,ERROR_exit(ERROR_NOENT),e_found,arg0); in path_exec()
|
H A D | xec.c | 252 errormsg(SH_DICT,ERROR_exit(0),e_badtformat,c); in p_time() 781 errormsg(SH_DICT,ERROR_exit(1),"%s: unknown namespace",name); in sh_coinit() 1519 errormsg(SH_DICT,ERROR_exit(0),e_defined,com0); in sh_exec() 1524 errormsg(SH_DICT,ERROR_exit(0),e_found,"function"); in sh_exec() 2693 errormsg(SH_DICT,ERROR_exit(1),e_ident,fname); in sh_exec() 2738 errormsg(SH_DICT,ERROR_exit(1),e_badfun,fname); in sh_exec() 2750 errormsg(SH_DICT,ERROR_exit(1),e_baddisc,fname); in sh_exec() 3452 errormsg(SH_DICT,ERROR_exit(1),e_toodeep,argv[0]); in sh_funscope() 3636 errormsg(SH_DICT,ERROR_exit(1),e_pexists); in coproc_init() 3973 errormsg(SH_DICT,ERROR_exit(1),e_restricted,path); in sh_ntfork() [all …]
|
H A D | parse.c | 369 errormsg(SH_DICT,ERROR_exit(1),e_lexversion); in sh_parse() 829 errormsg(SH_DICT,ERROR_exit(3),e_lexsyntax4,lexp->sh->inlineno); in funct() 838 errormsg(SH_DICT,ERROR_exit(3),e_lexsyntax4,lexp->sh->inlineno); in funct() 1299 errormsg(SH_DICT,ERROR_exit(3),e_lexsyntax3,lexp->sh->inlineno,argp->argval); in item()
|
H A D | nvdisc.c | 594 errormsg(SH_DICT,ERROR_exit(1),e_staticfun,name,tp->nvname); in setdisc() 1255 errormsg(SH_DICT,ERROR_exit(1),e_baddisc,name); in sh_addbuiltin()
|
H A D | lex.c | 1220 errormsg(SH_DICT,ERROR_exit(SYNBAD),e_lexsyntax1, shp->inlineno, "[]", "empty subscript"); in sh_lex() 1725 errormsg(SH_DICT,ERROR_exit(SYNBAD),e_lexsyntax5,lp->sh->inlineno,lp->heredoc->ioname); in comsub() 2182 errormsg(SH_DICT,ERROR_exit(SYNBAD),e_lexsyntax1,lp->lastline,tokstr,cp); in sh_syntax() 2184 errormsg(SH_DICT,ERROR_exit(SYNBAD),e_lexsyntax2,tokstr,cp); in sh_syntax()
|
H A D | shcomp.c | 143 errormsg(SH_DICT,ERROR_exit(1),"dump failed"); in main()
|
H A D | streval.c | 133 errormsg(SH_DICT,ERROR_exit(mode),message,expr); in arith_error() 1026 errormsg(SH_DICT,ERROR_exit(1),message,ep->name); in matherr()
|
H A D | nvtype.c | 439 errormsg(SH_DICT,ERROR_exit(1),e_readonly, nq->nvname); in clone_type() 483 errormsg(SH_DICT,ERROR_exit(1),e_required,nq->nvname,nv_name(mp)); in clone_type() 542 errormsg(SH_DICT,ERROR_exit(1),e_notelem,n,name,nv_name(np)); in create_type() 867 errormsg(SH_DICT,ERROR_exit(1),e_badtypedef,cp); in nv_mktype() 1328 errormsg(SH_DICT,ERROR_exit(1),e_redef,nv_name(np)); in nv_settype() 1462 errormsg(SH_DICT,ERROR_exit(1),e_unknowntype,strlen(fp->type),fp->type); in nv_mkstruct()
|
H A D | name.c | 394 errormsg(SH_DICT,ERROR_exit(1),e_readonly, nv_name(np)); in nv_setlist() 967 errormsg(SH_DICT,ERROR_exit(1),e_noref,nv_name(np)); in nv_create() 1587 errormsg(SH_DICT,ERROR_exit(1),msg,name); in nv_open() 1624 errormsg(SH_DICT,ERROR_exit(1),e_readonly, nv_name(np)); in nv_putval() 2929 errormsg(SH_DICT,ERROR_exit(1),e_number,nv_name(np)); in nv_getnum() 3279 errormsg(SH_DICT,ERROR_exit(1),e_varname,""); in nv_rename() 3283 errormsg(SH_DICT,ERROR_exit(1),e_varname,nv_name(np)); in nv_rename() 3402 errormsg(SH_DICT,ERROR_exit(1),e_badref,nv_name(np)); in nv_setref() 3410 errormsg(SH_DICT,ERROR_exit(1),e_badref,nv_name(np)); in nv_setref() 3426 errormsg(SH_DICT,ERROR_exit(1),e_selfref,nv_name(np)); in nv_setref() [all …]
|
/illumos-gate/usr/src/cmd/ast/ksh/builtins/ |
H A D | alias.c | 204 error(ERROR_exit(1), "shell initialisation failed."); in script_builtin_main() 210 error(ERROR_exit(1), "variable %s not found.", "exitval"); in script_builtin_main() 228 error(ERROR_exit(1), "could not determinate exec name."); in main()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | print.c | 539 errormsg(SH_DICT,ERROR_exit(1),e_notset,string); in fmtbase64() 768 errormsg(SH_DICT,ERROR_exit(1),e_formspec,format); in extend() 948 errormsg(SH_DICT,ERROR_exit(1),e_formspec,format); in extend() 995 errormsg(SH_DICT,ERROR_exit(1),e_badregexp,value->s); in extend() 1001 errormsg(SH_DICT,ERROR_exit(1),e_badregexp,value->s); in extend()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/ |
H A D | error.h | 44 #define ERROR_exit(n) ((n)+ERROR_ERROR) macro
|