Home
last modified time | relevance | path

Searched refs:ERROR_exit (Results 1 – 25 of 53) sorted by relevance

123

/titanic_44/usr/src/lib/libcmd/common/
H A Dexpr.c196 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()
226 error(ERROR_exit(2), "pattern argument expected"); in getnode()
233 error(ERROR_exit(2), "string argument expected"); in getnode()
239 error(ERROR_exit(2), "string argument expected"); in getnode()
241 error(ERROR_exit(2), "position argument expected"); in getnode()
246 error(ERROR_exit(2), "length argument expected"); in getnode()
270 error(ERROR_exit(2),"closing parenthesis missing"); in getnode()
[all …]
H A Dcmp.c122 error(ERROR_exit(1), "EOF on %s", file1); in cmp()
133 error(ERROR_exit(1), "EOF on %s", file2); in cmp()
245 error(ERROR_exit(0), "%s: %s: invalid skip", file1, s); in b_cmp()
253 error(ERROR_exit(0), "%s: %s: invalid skip", file2, s); in b_cmp()
266 error(ERROR_exit(0), "EOF on %s", file1); in b_cmp()
273 error(ERROR_exit(0), "EOF on %s", file2); in b_cmp()
H A Dchgrp.c188 error(ERROR_exit(1), "%s: unknown user", s); in getids()
206 error(ERROR_exit(1), "%s: unknown group", s); in getids()
266 error(ERROR_exit(1), "%s: cannot stat", opt_info.arg); in b_chgrp()
284 error(ERROR_exit(1), "out of space [id map]"); in b_chgrp()
291 error(ERROR_exit(1), "%s: cannot stat", opt_info.arg); in b_chgrp()
340 error(ERROR_exit(1), "%s: cannot read", s); in b_chgrp()
347 error(ERROR_exit(1), "out of space [id dictionary]"); in b_chgrp()
H A Dchmod.c204 error(ERROR_exit(1), "%s: cannot stat", opt_info.arg); in b_chmod()
248 error(ERROR_exit(1), "%s: invalid mode", amode); in b_chmod()
H A Dcut.c143 error(ERROR_exit(1), "out of space"); in cutinit()
177 error(ERROR_exit(1),"invalid range for c/f option"); in cutinit()
235 error(ERROR_exit(1),"bad list for c/f option"); in cutinit()
242 error(ERROR_exit(1),"bad list for c/f option"); in cutinit()
H A Dstty.c646 error(ERROR_exit(1),"%s: unknown mode",cp); in set()
651 error(ERROR_exit(1),"%s: unknown mode",cp); in set()
653 error(ERROR_exit(1),"missing argument to %s",cp); in set()
727 error(ERROR_exit(1), "%s: missing numeric argument", tp->name); in set()
732 error(ERROR_exit(1), "%s: %s: numeric argument expected", tp->name, cp); in set()
749 error(ERROR_exit(1), "%s: %s: invalid speed", tp->name, cp); in set()
940 error(ERROR_exit(1), "%s: unknown mode", argv[opt_info.index]); in b_stty()
H A Did.c235 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 Dmkfifo.c71 error(ERROR_exit(0), "%s: invalid mode", arg); in b_mkfifo()
H A Dmktemp.c94 error(ERROR_exit(0), "%s: invalid mode", pfx); in b_mktemp()
/titanic_44/usr/src/lib/libshell/common/bltins/
H A Dmisc.c113 errormsg(SH_DICT,ERROR_exit(1),e_restricted,argv[0]); in B_login()
234 errormsg(SH_DICT,ERROR_exit(1),e_toodeep,script); in b_dot_cmd()
250 errormsg(SH_DICT,ERROR_exit(1),e_found,script); in b_dot_cmd()
361 errormsg(SH_DICT,ERROR_exit(1),e_number,arg); in b_shift()
419 errormsg(SH_DICT,ERROR_exit(1),e_no_jctl); in b_bg()
425 errormsg(SH_DICT,ERROR_exit(1),e_no_job); in b_bg()
457 errormsg(SH_DICT,ERROR_exit(1),e_no_job); in b_jobs()
489 errormsg(SH_DICT,ERROR_exit(1), e_badname,arg); in b_universe()
494 errormsg(SH_DICT,ERROR_exit(1),e_nouniverse); in b_universe()
586 errormsg(SH_DICT,ERROR_exit(1),e_cantset,flag==2?e_mapping:e_versions); in b_vpath()
[all …]
H A Dhist.c149 errormsg(SH_DICT,ERROR_exit(1),e_found,argv[1]); in b_hist()
176 errormsg(SH_DICT,ERROR_exit(1),e_badrange,range[0],range[1]); in b_hist()
178 errormsg(SH_DICT,ERROR_exit(1),e_eneedsarg); in b_hist()
192 errormsg(SH_DICT,ERROR_exit(1),e_create,""); in b_hist()
266 errormsg(SH_DICT,ERROR_exit(1),e_toodeep,"history"); in b_hist()
304 errormsg(SH_DICT,ERROR_exit(1),e_subst,command); in hist_subst()
H A Dtest.c122 errormsg(SH_DICT,ERROR_exit(2),e_missing,"']'"); in b_test()
158 errormsg(SH_DICT,ERROR_exit(2),e_badop,cp); in b_test()
228 errormsg(SH_DICT,ERROR_exit(2),e_badsyntax); in expr()
242 errormsg(SH_DICT,ERROR_exit(2),e_argument); in nxtarg()
261 errormsg(SH_DICT,ERROR_exit(2),e_missing,"')'"); in e3()
289 errormsg(SH_DICT,ERROR_exit(2),e_argument); in e3()
304 errormsg(SH_DICT,ERROR_exit(2),e_badop,binop); in e3()
452 errormsg(SH_DICT,ERROR_exit(2),e_badop,a); in test_unop()
H A Dsleep.c86 errormsg(SH_DICT,ERROR_exit(1),e_number,*argv); in b_sleep()
91 errormsg(SH_DICT,ERROR_exit(1),e_oneoperand); in b_sleep()
94 errormsg(SH_DICT,ERROR_exit(1),e_oneoperand); in b_sleep()
H A Dumask.c71 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 Dtypeset.c73 errormsg(SH_DICT,ERROR_exit(1),"%s: type not loadable",name); in load_class()
190 errormsg(SH_DICT, ERROR_exit(1), e_option, argv[1]); in b_alias()
285 errormsg(SH_DICT,ERROR_exit(1), e_badfield, tdata.argnum); in b_typeset()
391 errormsg(SH_DICT,ERROR_exit(1),"%s: unknown type",tdata.prefix); in b_typeset()
476 errormsg(SH_DICT,ERROR_exit(1),e_badfun,name); in b_common()
588 errormsg(SH_DICT,ERROR_exit(1),e_badexport,name); in b_common()
616 errormsg(SH_DICT,ERROR_exit(1),e_readonly,nv_name(np)); in b_common()
823 errormsg(SH_DICT,ERROR_exit(1),e_restricted,argv[-opt_info.index]); in b_builtin()
825 errormsg(SH_DICT,ERROR_exit(1),e_pfsh,argv[-opt_info.index]); in b_builtin()
838 errormsg(SH_DICT,ERROR_exit(0),"%s: %s",arg,dlerror()); in b_builtin()
[all …]
H A Dmkservice.c341 errorv(NiL, ERROR_exit(1), ap); in Error()
436 error(ERROR_exit(1), "out of space"); in b_mkservice()
447 error(ERROR_exit(1), "%s: cannot start service", path); in b_mkservice()
H A Dwhence.c61 errormsg(SH_DICT,ERROR_exit(1),e_restricted,"-p"); in b_command()
278 errormsg(SH_DICT,ERROR_exit(0),e_found,sh_fmtq(name)); in whence()
H A Dtrap.c92 errormsg(SH_DICT,ERROR_exit(1),e_condition); in b_trap()
214 errormsg(SH_DICT,ERROR_exit(1),e_nosignal,signame); in b_kill()
224 errormsg(SH_DICT,ERROR_exit(1),e_nosignal,signame); in b_kill()
H A Dcd_pwd.c63 errormsg(SH_DICT,ERROR_exit(1),e_restricted+4); in b_cd()
94 errormsg(SH_DICT,ERROR_exit(1),argc==2?e_subst+4:e_direct); in b_cd()
H A Denum.c162 error(ERROR_exit(1), "%s: invalid value %s",nv_name(np),val); in put_enum()
226 error(ERROR_exit(1), "%s must name an array containing at least two elements",cp); in enum_create()
H A Dprint.c466 errormsg(SH_DICT,ERROR_exit(1),e_notset,string); in fmtbase64()
677 errormsg(SH_DICT,ERROR_exit(1),e_formspec,format); in extend()
844 errormsg(SH_DICT,ERROR_exit(1),e_formspec,format); in extend()
891 errormsg(SH_DICT,ERROR_exit(1),e_badregexp,value->s); in extend()
898 errormsg(SH_DICT,ERROR_exit(1),e_badregexp,value->s); in extend()
H A Dcflow.c105 errormsg(SH_DICT,ERROR_exit(1),e_nolabels,*argv); in b_break()
/titanic_44/usr/src/cmd/ksh/builtins/
H A Dalias.c219 error(ERROR_exit(1), "shell initialisation failed."); in script_builtin_main()
224 error(ERROR_exit(1), "variable %s not found.", "exitval"); in script_builtin_main()
240 error(ERROR_exit(1), "could not determinate exec name."); in main()
/titanic_44/usr/src/lib/libshell/common/sh/
H A Darith.c345 errormsg(SH_DICT,ERROR_exit((lvalue->emode&3)!=0),lvalue->value,*ptr); in arith()
374 errormsg(SH_DICT,ERROR_exit(1),e_lexbadchar,*last,str); in sh_strnum()
394 errormsg(SH_DICT,ERROR_exit(1),e_lexbadchar,*ptr,str); in sh_arithcomp()
H A Dname.c234 errormsg(SH_DICT,ERROR_exit(1),e_redef,sp->nodes[0]->nvname); in nv_addnode()
404 errormsg(SH_DICT,ERROR_exit(1),"%s: not a known type name",argv[0]); in nv_setlist()
474 errormsg(SH_DICT,ERROR_exit(1),e_badappend,nv_name(np)); in nv_setlist()
841 errormsg(SH_DICT,ERROR_exit(1),e_noref,nv_name(np)); in nv_create()
1334 errormsg(SH_DICT,ERROR_exit(1),msg,name); in nv_open()
1367 errormsg(SH_DICT,ERROR_exit(1),e_readonly, nv_name(np)); in nv_putval()
2188 errormsg(SH_DICT,ERROR_exit(1),e_readonly, nv_name(np)); in _nv_unset()
2579 errormsg(SH_DICT,ERROR_exit(1),e_number,nv_name(np)); in nv_getnum()
2666 errormsg(SH_DICT,ERROR_exit(1),e_restricted,nv_name(np)); in nv_newattr()
2918 errormsg(SH_DICT,ERROR_exit(1),e_varname,""); in nv_rename()
[all …]

123