| /onnv/onnv-gate/usr/src/lib/libshell/common/bltins/ |
| umask.c | 37 #ifndef SH_DICT 38 # define SH_DICT "libshell" 52 errormsg(SH_DICT,2, "%s", opt_info.arg); 55 errormsg(SH_DICT,ERROR_usage(2), "%s",opt_info.arg); 59 errormsg(SH_DICT,ERROR_usage(2),"%s",optusage((char*)0)); 71 errormsg(SH_DICT,ERROR_exit(1),e_number,*argv); 82 errormsg(SH_DICT,ERROR_exit(1),e_format,mask);
|
| cflow.c | 56 errormsg(SH_DICT,2, "%s", opt_info.arg); 59 errormsg(SH_DICT,ERROR_usage(0), "%s", opt_info.arg); 64 errormsg(SH_DICT,ERROR_usage(2),"%s",optusage((char*)0)); 91 errormsg(SH_DICT,2, "%s", opt_info.arg); 94 errormsg(SH_DICT,ERROR_usage(0), "%s", opt_info.arg); 98 errormsg(SH_DICT,ERROR_usage(2),"%s",optusage((char*)0)); 105 errormsg(SH_DICT,ERROR_exit(1),e_nolabels,*argv);
|
| misc.c | 78 errormsg(SH_DICT,2, "%s", opt_info.arg); 81 errormsg(SH_DICT,ERROR_usage(0), "%s", opt_info.arg); 86 errormsg(SH_DICT,ERROR_usage(2),"%s",optusage((char*)0)); 113 errormsg(SH_DICT,ERROR_exit(1),e_restricted,argv[0]); 168 errormsg(SH_DICT,2, "%s", opt_info.arg); 171 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg); 176 errormsg(SH_DICT,ERROR_usage(2),"%s",optusage((char*)0)); 190 errormsg(SH_DICT,2, "%s", opt_info.arg); 193 errormsg(SH_DICT,ERROR_usage(0), "%s",opt_info.arg); 197 errormsg(SH_DICT,ERROR_usage(2),"%s",optusage((char*)0)) [all...] |
| poll_solaris.c | 30 #ifndef SH_DICT 31 # define SH_DICT "libshell" 261 errormsg(SH_DICT, ERROR_system(1), "%s: invalid timeout", opt_info.arg); 271 errormsg(SH_DICT, 2, "%s", opt_info.arg); 274 errormsg(SH_DICT, ERROR_usage(2), "%s", opt_info.arg); 280 errormsg(SH_DICT, ERROR_usage(2), optusage((char*)0)); 289 errormsg(SH_DICT, ERROR_system(1), "cannot find array variable %s", varname); 291 errormsg(SH_DICT, ERROR_system(1), "variable %s is not an array", varname); 326 errormsg(SH_DICT, ERROR_system(1), "missing pollfd %s[%s].fd", varname, subname); 329 errormsg(SH_DICT, ERROR_system(1), "invalid pollfd fd %d", fd) [all...] |
| ulimit.c | 36 #ifndef SH_DICT 37 # define SH_DICT "libshell" 46 errormsg(SH_DICT,ERROR_exit(2),e_nosupport); 102 errormsg(SH_DICT,2, e_notimp, opt_info.name); 105 errormsg(SH_DICT,2, "%s", opt_info.arg); 108 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg); 124 errormsg(SH_DICT,ERROR_usage(2),optusage((char*)0)); 143 errormsg(SH_DICT,ERROR_system(1),e_number,limit); 147 errormsg(SH_DICT,ERROR_system(1),e_readonly,tp->name); 152 errormsg(SH_DICT,ERROR_system(1),e_number,limit) [all...] |
| shiocmd_solaris.c | 30 #ifndef SH_DICT 31 # define SH_DICT "libshell" 75 errormsg(SH_DICT, ERROR_exit(1),"%s: invalid date/time string", val); 147 errormsg(SH_DICT, ERROR_exit(1),"%s: invalid mode string", val); 548 errormsg(SH_DICT, ERROR_system(1), "%s: invalid mode", arg); 551 errormsg(SH_DICT, 2, "%s", opt_info.arg); 554 errormsg(SH_DICT, ERROR_usage(2), "%s", opt_info.arg); 560 errormsg(SH_DICT, ERROR_usage(2), optusage((char*)0)); 574 errormsg(SH_DICT, ERROR_system(1), "%s: open failed", argv[1]); 614 errormsg(SH_DICT, 2, "%s", opt_info.arg) [all...] |
| cd_pwd.c | 63 errormsg(SH_DICT,ERROR_exit(1),e_restricted+4); 73 errormsg(SH_DICT,2, "%s", opt_info.arg); 76 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg); 83 errormsg(SH_DICT,ERROR_usage(2),"%s",optusage((char*)0)); 94 errormsg(SH_DICT,ERROR_exit(1),argc==2?e_subst+4:e_direct); 173 errormsg(SH_DICT,ERROR_system(1),"%s:",dir); 184 errormsg(SH_DICT,ERROR_system(1),"%s:",dir); 224 errormsg(SH_DICT,2, "%s", opt_info.arg); 227 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg); 231 errormsg(SH_DICT,ERROR_usage(2),"%s",optusage((char*)0)) [all...] |
| hist.c | 60 errormsg(SH_DICT,ERROR_system(1),e_histopen); 93 errormsg(SH_DICT,2, "%s", opt_info.arg); 96 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg); 100 errormsg(SH_DICT,ERROR_usage(2),"%s",optusage((char*)0)); 149 errormsg(SH_DICT,ERROR_exit(1),e_found,argv[1]); 176 errormsg(SH_DICT,ERROR_exit(1),e_badrange,range[0],range[1]); 178 errormsg(SH_DICT,ERROR_exit(1),e_eneedsarg); 192 errormsg(SH_DICT,ERROR_exit(1),e_create,""); 194 errormsg(SH_DICT,ERROR_system(1),e_create,fname); 266 errormsg(SH_DICT,ERROR_exit(1),e_toodeep,"history") [all...] |
| whence.c | 61 errormsg(SH_DICT,ERROR_exit(1),e_restricted,"-p"); 76 errormsg(SH_DICT,2, "%s", opt_info.arg); 81 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg); 88 errormsg(SH_DICT,ERROR_usage(2),"%s", optusage((char*)0)); 121 errormsg(SH_DICT,2, "%s", opt_info.arg); 124 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg); 129 errormsg(SH_DICT,ERROR_usage(2),optusage((char*)0)); 278 errormsg(SH_DICT,ERROR_exit(0),e_found,sh_fmtq(name));
|
| sleep.c | 61 errormsg(SH_DICT,2, "%s", opt_info.arg); 64 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg); 86 errormsg(SH_DICT,ERROR_exit(1),e_number,*argv); 91 errormsg(SH_DICT,ERROR_exit(1),e_oneoperand); 94 errormsg(SH_DICT,ERROR_exit(1),e_oneoperand);
|
| trap.c | 56 errormsg(SH_DICT,2, "%s", opt_info.arg); 59 errormsg(SH_DICT,ERROR_usage(0), "%s", opt_info.arg); 65 errormsg(SH_DICT,ERROR_usage(2),"%s", optusage((char*)0)); 92 errormsg(SH_DICT,ERROR_exit(1),e_condition); 99 errormsg(SH_DICT,2,e_trap,arg); 108 errormsg(SH_DICT,2,e_trap,arg); 133 errormsg(SH_DICT,2,e_trap,arg); 177 errormsg(SH_DICT,2, "%s", opt_info.arg); 190 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg); 198 errormsg(SH_DICT,ERROR_usage(2),"%s", optusage((char*)0)) [all...] |
| getopts.c | 78 errormsg(SH_DICT,2, "%s", opt_info.arg); 81 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg); 87 errormsg(SH_DICT,ERROR_usage(2), "%s", optusage((char*)0)); 121 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg); 132 errormsg(SH_DICT,2, "%s", opt_info.arg); 155 errormsg(SH_DICT,ERROR_usage(2), "%s", optusage((char*)0));
|
| typeset.c | 73 errormsg(SH_DICT,ERROR_exit(1),"%s: type not loadable",name); 99 errormsg(SH_DICT,2, "%s", opt_info.arg); 102 errormsg(SH_DICT,ERROR_usage(0), "%s", opt_info.arg); 106 errormsg(SH_DICT,ERROR_usage(2),optusage(NIL(char*))); 164 errormsg(SH_DICT,2, "%s", opt_info.arg); 167 errormsg(SH_DICT,ERROR_usage(0), "%s", opt_info.arg); 171 errormsg(SH_DICT,ERROR_usage(2),"%s",optusage(NIL(char*))); 190 errormsg(SH_DICT, ERROR_exit(1), e_option, argv[1]); 285 errormsg(SH_DICT,ERROR_exit(1), e_badfield, tdata.argnum); 335 errormsg(SH_DICT,2, "%s", opt_info.arg) [all...] |
| print.c | 183 errormsg(SH_DICT,ERROR_system(1),e_history); 235 errormsg(SH_DICT,2, "%s", opt_info.arg); 238 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg); 243 errormsg(SH_DICT,ERROR_usage(2),"%s",optusage((char*)0)); 245 errormsg(SH_DICT,ERROR_usage(2),"-%c and -f are mutually exclusive",vflag); 265 errormsg(SH_DICT,ERROR_system(1),msg); 466 errormsg(SH_DICT,ERROR_exit(1),e_notset,string); 677 errormsg(SH_DICT,ERROR_exit(1),e_formspec,format); 769 errormsg(SH_DICT,ERROR_warn(0),e_charconst,argp); 777 errormsg(SH_DICT,ERROR_warn(0),e_overflow,argp) [all...] |
| alarm.c | 245 errormsg(SH_DICT,2, "%s", opt_info.arg); 248 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg); 254 errormsg(SH_DICT,ERROR_usage(2),optusage((char*)0)); 261 errormsg(SH_DICT,ERROR_usage(2),optusage((char*)0)); 267 errormsg(SH_DICT,ERROR_exit(1),e_nospace);
|
| regress.c | 272 errormsg(SH_DICT, ERROR_usage(2), "%s", opt_info.arg); 275 errormsg(SH_DICT, 2, "%s", opt_info.arg); 335 errormsg(SH_DICT, ERROR_usage(2), "%s", optusage(NiL));
|
| read.c | 109 errormsg(SH_DICT,ERROR_exit(1),e_query); 116 errormsg(SH_DICT,ERROR_exit(1),e_overlimit,opt_info.name); 135 errormsg(SH_DICT,2, "%s", opt_info.arg); 138 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg); 143 errormsg(SH_DICT,ERROR_usage(2), "%s", optusage((char*)0)); 147 errormsg(SH_DICT,ERROR_system(1),e_file+4); 479 errormsg(SH_DICT,ERROR_warn(0),e_readonly, nv_name(np)); 656 errormsg(SH_DICT,ERROR_warn(0),e_readonly, nv_name(np)); 696 errormsg(SH_DICT,ERROR_warn(0),e_readonly, nv_name(np));
|
| test.c | 122 errormsg(SH_DICT,ERROR_exit(2),e_missing,"']'"); 158 errormsg(SH_DICT,ERROR_exit(2),e_badop,cp); 175 errormsg(SH_DICT,ERROR_usage(2), "%s",opt_info.arg); 228 errormsg(SH_DICT,ERROR_exit(2),e_badsyntax); 242 errormsg(SH_DICT,ERROR_exit(2),e_argument); 261 errormsg(SH_DICT,ERROR_exit(2),e_missing,"')'"); 289 errormsg(SH_DICT,ERROR_exit(2),e_argument); 304 errormsg(SH_DICT,ERROR_exit(2),e_badop,binop); 452 errormsg(SH_DICT,ERROR_exit(2),e_badop,a);
|
| /onnv/onnv-gate/usr/src/lib/libshell/common/sh/ |
| shcomp.c | 91 errormsg(SH_DICT,2,"%s",opt_info.arg); 94 errormsg(SH_DICT,ERROR_usage(2),"%s",opt_info.arg); 102 errormsg(SH_DICT,ERROR_usage(2),"%s",optusage((char*)0)); 114 errormsg(SH_DICT,ERROR_system(1),"%s: cannot create",cp); 143 errormsg(SH_DICT,ERROR_exit(1),"dump failed"); 148 errormsg(SH_DICT,ERROR_system(1),"I/O error");
|
| bash.c | 213 errormsg(SH_DICT,ERROR_ERROR,"cannot set and unset options simultaneously"); 225 errormsg(SH_DICT,2, "%s", opt_info.arg); 228 errormsg(SH_DICT,ERROR_usage(0), "%s", opt_info.arg); 233 errormsg(SH_DICT,ERROR_usage(2),"%s",optusage(NIL(char*))); 260 errormsg(SH_DICT,ERROR_ERROR, e_option, argv[opt_info.index]);
|
| streval.c | 41 #ifndef SH_DICT 42 # define SH_DICT "libshell" 130 errormsg(SH_DICT,ERROR_exit(mode),message,expr); 910 errormsg(SH_DICT,ERROR_exit(1),message,ep->name);
|
| arith.c | 340 errormsg(SH_DICT,ERROR_warn(0),lvalue->value,*ptr); 343 errormsg(SH_DICT,ERROR_exit((lvalue->emode&3)!=0),lvalue->value,*ptr); 372 errormsg(SH_DICT,ERROR_exit(1),e_lexbadchar,*last,str); 392 errormsg(SH_DICT,ERROR_exit(1),e_lexbadchar,*ptr,str);
|
| args.c | 174 errormsg(SH_DICT,ERROR_exit(1), e_option, opt_info.name); 197 errormsg(SH_DICT,2, e_option, opt_info.arg); 202 errormsg(SH_DICT,ERROR_exit(1), e_restricted, opt_info.arg); 286 errormsg(SH_DICT,2, "%s", opt_info.arg); 289 errormsg(SH_DICT,ERROR_usage(0), "%s", opt_info.arg); 313 errormsg(SH_DICT,ERROR_usage(2),"%s",optusage(NIL(char*))); 350 errormsg(SH_DICT,2,e_cneedsarg); 351 errormsg(SH_DICT,ERROR_usage(2),optusage(NIL(char*))); 363 errormsg(SH_DICT,ERROR_usage(2),"-R requires scriptname"); 365 errormsg(SH_DICT,ERROR_system(3),e_create,ap->kiafile) [all...] |
| io.c | 451 errormsg(SH_DICT,ERROR_system(1),e_badwrite,sffileno(iop)); 553 errormsg(SH_DICT,ERROR_system(1),e_toomany); 605 errormsg(SH_DICT,ERROR_system(1),e_file+4); 781 errormsg(SH_DICT,ERROR_system(1),e_open,name); 807 errormsg(SH_DICT,ERROR_system(1),e_pipe); 1027 errormsg(SH_DICT,ERROR_exit(1),e_readonly, nv_name(np)); 1120 errormsg(SH_DICT,ERROR_exit(1),e_restricted,fname); 1134 errormsg(SH_DICT,ERROR_exit(1),e_restricted,fname); 1166 errormsg(SH_DICT,ERROR_system(1),e_exists,fname); 1177 errormsg(SH_DICT,ERROR_system(1),((o_mode&O_CREAT)?e_create:e_open),fname) [all...] |
| /onnv/onnv-gate/usr/src/lib/libshell/common/edit/ |
| hexpand.c | 324 errormsg(SH_DICT, ERROR_ERROR, "%s: event not found", evp); 428 errormsg(SH_DICT, ERROR_ERROR, "%s: bad word specifier", evp); 488 errormsg(SH_DICT, ERROR_ERROR, "%s: bad word specifier", evp); 548 errormsg(SH_DICT, ERROR_ERROR, "%c: unrecognized history modifier", c); 598 errormsg(SH_DICT, ERROR_ERROR, 626 errormsg(SH_DICT, ERROR_ERROR,
|