Searched defs:shcmd (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/lp/include/
H A Dlp.h55 char * shcmd; /* shell command used to perform the alert */ member in struct:FALERT
/illumos-gate/usr/src/cmd/init/
H A Dinit.c1516 getcmd(struct CMD_LINE *cmd, char *shcmd) argument
1606 for (proceed = TRUE, ptr = shcmd, state = ID, lastc = '\0';
1638 if (state == ID && c == '#' && ptr == shcmd) {
1656 if ((i = ptr - shcmd) < 1 || i > 4) {
1659 bcopy(shcmd, &cmd->c_id[0], i);
1660 ptr = shcmd;
1670 for (cmd->c_levels = 0, ptr1 = shcmd;
1682 ptr = shcmd; /* Reset the buffer */
1688 * Null terminate the string in shcmd buffer and
1694 if (ptr == shcmd) {
[all...]

Completed in 66 milliseconds