Searched defs:command (Results 51 - 75 of 226) sorted by relevance

12345678910

/illumos-gate/usr/src/cmd/ptools/psig/
H A Dpsig.c52 static char *command; variable
64 if ((command = strrchr(argv[0], '/')) != NULL)
65 command++;
67 command = argv[0];
106 (void) fprintf(stderr, "usage:\t%s [-n] pid ...\n", command);
196 command, arg, Pgrab_error(gcode));
217 command, maxsig);
263 command);
270 command, (void *)aharraddr);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/ksslcfg/
H A Dksslcfg_create.c181 char *command; local
233 command = malloc(len);
234 if (command == NULL) {
238 (void) snprintf(command, len, "%s %s %s",
240 KSSL_DEBUG("command=%s\n", command);
243 SCF_TYPE_ASTRING, command, tran) != SUCCESS) {
244 free(command);
247 free(command);
300 const char *instance_name, const char *kssl_entry, const char *command,
299 create_instance(scf_handle_t *handle, scf_service_t *svc, const char *instance_name, const char *kssl_entry, const char *command, const char *username, char *inaddr_any_name) argument
376 create_service(const char *instance_name, const char *kssl_entry, const char *command, const char *username, char *inaddr_any_name) argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dns_files.c653 command_t *command; local
658 command = (command_t *)argp;
660 if (sizeof (*command) != arg_size) {
666 rc = read_execout(command->key, &lp, command->file, line, LINESZ);
679 command->file, strerror(errno));
687 command_t command; local
691 bzero(&command, sizeof (command));
692 (void) strlcpy(command
[all...]
/illumos-gate/usr/src/cmd/abi/apptracecmd/
H A Dapptrace.c63 static char const *command; variable
113 /* Squirrel the basename of the command name away. */
114 if ((command = strrchr(argv[0], '/')) != NULL)
115 command++;
117 command = argv[0];
165 * If there was a problem with the options, or there was no command
169 usage(command);
219 command, strerror(errno));
230 command, argv[0], strerror(errno));
240 command, strerro
[all...]
/illumos-gate/usr/src/cmd/backup/restore/
H A Dmain.c50 char command = '\0'; variable
185 command = '\0';
330 if (command != '\0') {
333 (uchar_t)*cp, (uchar_t)command);
336 command = *cp;
360 if (command == '\0') {
370 switch (command) {
/illumos-gate/usr/src/cmd/bnu/
H A Dsecurity.c71 char time[MODSTR]; /* date and time that command was
73 char command[BUFSIZ]; /* command name and options */ member in struct:secRexe
121 copyText(reptr->command, sizeof(reptr->command), NOTAVAIL);
228 * requser: one who issued the command
410 * cmd - command to be execed by uuxqt
428 copyText(scptr->command, sizeof(scptr->command), cmd);
452 scptr->command
[all...]
H A Duucp.c111 * find id of user who spawned command to
117 * create/append command log
332 * and execute a uux command
345 /* do a uux command */
360 * check for forwarding -- generate and execute a uux command
372 * generate and execute a uux command
490 char command[10+(2*MAXFULLNAME)]; local
537 sprintf(command, "cp %s %s", file1, file2);
538 if ((cfp = popen(command, "r")) == NULL) {
694 * generate and execute a uux command
[all...]
H A Duux.c85 char command = TRUE; local
162 * create/append command log
185 * if return code non-zero, return command's input
336 * and command name
370 * initialize command buffer
397 * if the command is to be executed locally, rxfile becomes
472 * if command is to be executed on remote
490 * parse command
502 gettext("'<<' may not be used in command\n"));
511 gettext("'>>' may not be used in command\
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dutil.c172 * This starts a child process determined by command. If command contains a
174 * for an executable file with the name command. Command is also used as
183 nwamd_start_childv(const char *command, char const * const *argv) argument
220 if ((rc = posix_spawnp(&pid, command, NULL, &attr, (char * const *)argv,
235 nlog(LOG_ERR, "'%s%s' %s with signal %d (%s)", command, vbuf,
240 nlog(LOG_INFO, "'%s%s' completed normally: %d", command, vbuf,
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsref/
H A Dnfsref.c131 * Accumulate multiple locations on the command line into 'buf'
322 char c, *command, *sl_path, *svc_type; local
345 /* Make sure there's at least a command and one argument */
373 command = argv[optind++];
376 if (strcmp(command, "add") == 0) {
385 } else if (strcmp(command, "remove") == 0) {
389 } else if (strcmp(command, "lookup") == 0) {
398 fprintf(stderr, gettext("Command %s failed: %s\n"), command,
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg.y65 * We could hoist the command terminator for all the rules up here, but then
67 * an additional error rule (per command) to catch extra arguments.
72 commands : command
73 | commands command
75 command : terminator label
119 semerr(gettext("Unknown command \"%s\".\n"), $1);
127 semerr(gettext("Unknown command \"%s\".\n"), $1);
/illumos-gate/usr/src/cmd/th_tools/
H A Dth_manage.c80 int command = -1; local
93 command = cmd_table[i].val;
119 command = cmd_table[i].val;
147 if (command == -1) {
149 * might have been a devctl command
176 "th_manage: invalid command\n");
189 if (command == BOFI_GET_HANDLES) {
195 if (ioctl(fd, command, &get_handles) == -1) {
250 if (ioctl(fd, command, &errctl) == -1) {
252 "command faile
[all...]
/illumos-gate/usr/src/ucbcmd/sed/
H A Dsed.h114 char command; member in struct:reptr::reptr1
126 char command; member in struct:reptr::reptr2
H A Dsed1.c101 static void command(union reptr *ipc);
139 for(ipc = ptrspace; ipc->r1.command; ) {
198 command(ipc);
328 command(union reptr *ipc) function
335 switch(ipc->r1.command) {
742 if((*aptr)->r1.command == ACOM) {
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_disk.c160 nsc_control(nsc_fd_t *fd, int command, void *argp, int argl) argument
162 return (*fd->sf_aio->control)(fd->sf_cd, command, argp, argl);
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dniu.c104 unm_niu_gb_mii_mgmt_command_t command; local
139 *(unm_crbword_t *)&command = 0; /* turn off any prior activity */
141 &command, 4);
143 /* send read command */
144 command.read_cycle = 1;
146 &command, 4);
/illumos-gate/usr/src/uts/sun4u/starcat/sys/
H A Dsc_cvcio.h109 uint8_t command; /* CVC_IOSRAM_BREAK, etc */ member in struct:cvc_ctl
/illumos-gate/usr/src/uts/sun4u/chicago/io/fpc/
H A Dfpc-impl-4u.c303 int command = local
327 if (((rval = ldi_ioctl(handle_impl->devhandle, command, (intptr_t)&prg,
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_util.c404 uint16_t command_preserve, command; local
524 * Set the fast back-to-back enable bit in the command
544 * Support for "command-preserve" property. Note that we
554 "command-preserve", 0);
555 DEBUG2(DBG_INIT_CLD, pci_p->pci_dip, "%s: command-preserve=%x\n",
557 command = pci_config_get16(config_handle, PCI_CONF_COMM);
558 command &= (command_preserve | PCI_COMM_BACK2BACK_ENAB);
559 command |= (pci_command_default & ~command_preserve);
560 pci_config_put16(config_handle, PCI_CONF_COMM, command);
561 command
[all...]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dx_call.c460 uint_t command)
504 msg->xc_command = command;
515 if (command == XC_MSG_SYNC)
454 xc_common( xc_func_t func, xc_arg_t arg1, xc_arg_t arg2, xc_arg_t arg3, ulong_t *set, uint_t command) argument
/illumos-gate/usr/src/cmd/make/lib/mksh/
H A Ddosys.cc131 * doshell(command, ignore_error)
133 * Used to run command lines that include shell meta-characters.
140 * command The command to run
148 doshell(wchar_t *command, register Boolean ignore_error, char *stdout_file, char *stderr_file, int nice_prio) argument
170 * Only prepend the /usr/bin/nice command to the original command
181 if ((length = wcslen(command)) >= MAXPATHLEN) {
183 (void) wcstombs(tmp_mbs_buffer, command, (length * MB_LEN_MAX) + 1);
188 WCSTOMBS(mbs_buffer, command);
313 doexec(register wchar_t *command, register Boolean ignore_error, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio) argument
433 await(register Boolean ignore_error, register Boolean silent_error, Name target, wchar_t *command, pid_t running_pid, void *xdrs_p, int job_msg_id) argument
527 sh_command2string(register String command, register String destination) argument
[all...]
/illumos-gate/usr/src/cmd/ptools/ptime/
H A Dptime.c54 static char *command; variable
74 command, pidstr, Pgrab_error(gret));
95 if ((command = strrchr(argv[0], '/')) != NULL)
96 command++;
98 command = argv[0];
123 "usage:\t%s [-mh] [-p pidlist | command [ args ... ]]\n",
124 command);
126 " (time a command using microstate accounting)\n");
140 command);
153 command, arg
[all...]
/illumos-gate/usr/src/cmd/dfs.cmds/sharectl/
H A Dsharectl.c59 char *command; local
88 * now have enough to parse rest of command line
90 command = argv[optind];
91 rval = run_command(command, argc - optind, argv + optind, handle);
566 run_command(char *command, int argc, char *argv[], sa_handle_t handle) argument
572 * To get here, we know there should be a command due to the
582 * command will be passed down to the shared object that
587 cmdvec = sa_lookup(command);
589 (void) printf(gettext("command %s not found\n"), command);
[all...]
/illumos-gate/usr/src/cmd/plimit/
H A Dplimit.c52 static char *command; variable
84 command, command, command);
97 if ((command = strrchr(argv[0], '/')) != NULL)
98 command++;
100 command = argv[0];
177 command, arg, Pgrab_error(gret));
194 command, (int)pid);
210 command, Pgrab_erro
[all...]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Drcfile.c150 * Like rc_open, but does popen of command:
154 rc_popen_cmd(const char *command, struct rcfile **rcfile) argument
161 f = popen(command, "r");
172 rcp->rf_name = strdup(command);

Completed in 242 milliseconds

12345678910