Searched refs:cmd (Results 1 - 25 of 1801) sorted by last modified time

1234567891011>>

/freebsd-10.0-release/usr.bin/tip/libacu/
H A Dbiz22.c52 static int cmd(char *);
72 if (cmd("\02K\r")) {
78 if (cmd(cbuf)) {
145 cmd(char *s) function
/freebsd-10.0-release/usr.bin/apply/
H A Dapply.c68 char *cmd, *name, *p, *shell, *slashp, *tmpshell; local
137 if ((cmd = malloc(cmdsize)) == NULL)
145 p = cmd;
146 offset = snprintf(cmd, cmdsize, EXEC "%s", argv[0]);
166 offset = snprintf(cmd, cmdsize, EXEC "%s", argv[0]);
186 for (p = cmd; *p != '\0'; ++p) {
213 free(cmd);
/freebsd-10.0-release/usr.bin/ar/
H A Dacpyacc.y142 : cmd EOL { arscp_prompt(); }
145 cmd
264 * Create archive. in != NULL indicate it's a OPEN cmd, and resulting
266 * we are in CREATE cmd and a new empty archive will be created.
510 * invoking CREATE cmd on current archive.
526 * Quit ar(1). Note that END cmd will not SAVE current archive
/freebsd-10.0-release/usr.bin/kdump/
H A Dkdump.c382 unsigned long cmd; local
385 cmd = -1;
393 cmd = TIOCGETA; /* required by isatty(3) in printf(3) */
399 cmd = TIOCGWINSZ;
408 if (cmd != -1 && cap_ioctls_limit(fd, &cmd, 1) < 0 && errno != ENOSYS)
H A Dmksubr237 semctlname(int cmd)
239 switch (cmd) {
271 printf("<invalid=%d>", cmd);
277 shmctlname(int cmd)
279 switch (cmd) {
290 printf("<invalid=%d>", cmd);
503 fcntlcmdname(int cmd, int arg, int decimal)
505 switch (cmd) {
520 printf("<invalid=%d>", cmd);
523 if (cmd
[all...]
/freebsd-10.0-release/usr.bin/usbhidaction/
H A Dusbhidaction.c94 struct command *cmd; local
202 for (cmd = commands; cmd; cmd = cmd->next) {
203 if (cmd->item.report_ID != 0 &&
204 buf[0] != cmd->item.report_ID)
206 if (cmd->item.flags & HIO_VARIABLE)
207 val = hid_get_data(buf, &cmd->item);
209 uint32_t pos = cmd
284 struct command *cmd, *cmds; local
466 docmd(struct command *cmd, int value, const char *hid, int argc, char **argv) argument
511 freecommands(struct command *cmd) argument
[all...]
/freebsd-10.0-release/usr.bin/limits/
H A Dlimits.c67 const char * cmd; /* Intro text */ member in struct:__anon11446
447 warnx("-e cannot be used with `cmd' option");
451 warnx("-P cannot be used with `cmd' option");
494 printf(shellparm[shelltype].cmd,
542 "[-bcdflmnstuvpw [val]] [[name=val ...] cmd]\n");
/freebsd-10.0-release/usr.bin/svn/svn/
H A DMakefile11 SRCS= add-cmd.c blame-cmd.c cat-cmd.c changelist-cmd.c checkout-cmd.c \
12 cl-conflicts.c cleanup-cmd.c commit-cmd.c conflict-callbacks.c \
13 copy-cmd.c delete-cmd.c deprecated.c diff-cmd
[all...]
/freebsd-10.0-release/usr.bin/tftp/
H A Dmain.c125 static struct cmd *getcmd(char *);
129 struct cmd { struct
135 static struct cmd cmdtab[] = {
708 struct cmd *c;
753 if (c == (struct cmd *)-1) {
765 static struct cmd *
769 struct cmd *c, *found;
789 return ((struct cmd *)-1);
834 struct cmd *c;
850 if (c == (struct cmd *)
[all...]
/freebsd-10.0-release/usr.bin/catman/
H A Dcatman.c387 char cmd[MAXPATHLEN]; local
434 snprintf(cmd, sizeof cmd,
440 if (system(cmd) != 0)
/freebsd-10.0-release/usr.bin/fstat/
H A Dfstat.c82 struct filestat *fst, const char *uname, const char *cmd, int pid);
208 const char *cmd; local
216 cmd = kp->ki_comm;
222 print_file_info(procstat, fst, uname, cmd, pid);
229 const char *uname, const char *cmd, int pid)
261 printf("%-8.8s %-10s %5d", uname, cmd, pid);
228 print_file_info(struct procstat *procstat, struct filestat *fst, const char *uname, const char *cmd, int pid) argument
/freebsd-10.0-release/usr.bin/m4/
H A Dgnum4.c605 doesyscmd(const char *cmd) argument
618 argv[2] = __DECONST(char *, cmd);
/freebsd-10.0-release/usr.bin/man/
H A Dman.sh753 # Usage: search_whatis cmd [arglist]
756 local IFS bad cmd f good key keywords loc opt out path rval wlist
758 cmd="$1"
767 if [ "$cmd" = "whatis" ]; then
795 echo "$cmd: no whatis databases in $MANPATH" >&2
888 echo "usage: $cmd [-d] keyword [...]"
/freebsd-10.0-release/usr.bin/sed/
H A Dcompile.c158 struct s_command *cmd, *cmd2, *stack; local
181 if ((*link = cmd = malloc(sizeof(struct s_command))) == NULL)
183 link = &cmd->next;
184 cmd->startline = cmd->nonsel = 0;
192 if ((cmd->a1 = malloc(sizeof(struct s_addr))) == NULL)
194 p = compile_addr(p, cmd->a1);
200 if ((cmd->a2 = malloc(sizeof(struct s_addr)))
203 p = compile_addr(p, cmd->a2);
206 cmd
[all...]
/freebsd-10.0-release/usr.bin/sort/
H A Dfile.c587 char *cmd; local
591 cmd = sort_malloc(cmdsz);
596 snprintf(cmd, cmdsz - 1, "cat %s | %s -d",
599 snprintf(cmd, cmdsz - 1, "%s > %s",
604 if ((file = popen(cmd, mode)) == NULL)
607 sort_free(cmd);
/freebsd-10.0-release/usr.bin/systat/
H A Dcmds.c50 command(const char *cmd) argument
56 tmpstr = tmpstr1 = strdup(cmd);
127 error("Couldn't change back to previous cmd");
H A Ddevs.c143 dscmd(const char *cmd, const char *args, int maxshowdevs, struct statinfo *s1) argument
147 if (prefix(cmd, "display") || prefix(cmd, "add"))
149 if (prefix(cmd, "ignore") || prefix(cmd, "delete"))
151 if (prefix(cmd, "show") || prefix(cmd, "only"))
153 if (prefix(cmd, "type") || prefix(cmd, "match"))
155 if (prefix(cmd, "refres
[all...]
H A Dextern.h106 int ifcmd(const char *cmd, const char *args);
H A Difcmds.c46 ifcmd(const char *cmd, const char *args) argument
50 if (prefix(cmd, "scale")) {
59 } else if (prefix(cmd, "match")) {
73 } else if (prefix(cmd, "pps"))
H A Difstat.c472 cmdifstat(const char *cmd, const char *args) argument
476 retval = ifcmd(cmd, args);
H A Diostat.c382 cmdiostat(const char *cmd, const char *args) argument
385 if (prefix(cmd, "kbpt"))
387 else if (prefix(cmd, "numbers"))
389 else if (prefix(cmd, "bars"))
391 else if (!dscmd(cmd, args, 100, &cur))
H A Dmode.c74 cmdmode(const char *cmd, const char *args) argument
76 if (prefix(cmd, "mode")) {
94 if(prefix(cmd, "reset")) {
H A Dmode.h41 extern int cmdmode(const char *cmd, const char *args);
H A Dnetcmds.c80 netcmd(const char *cmd, const char *args) argument
83 if (prefix(cmd, "proto")) {
93 if (prefix(cmd, "ignore") || prefix(cmd, "display")) {
94 changeitems(args, prefix(cmd, "display"));
97 if (prefix(cmd, "reset")) {
103 if (prefix(cmd, "show")) {
H A Dnetstat.c628 cmdnetstat(const char *cmd, const char *args) argument
630 if (prefix(cmd, "all")) {
634 if (prefix(cmd, "numbers") || prefix(cmd, "names")) {
638 new = prefix(cmd, "numbers");
649 if (!netcmd(cmd, args))

Completed in 341 milliseconds

1234567891011>>