Return to ipcrm.c CVS log | Up to [local] / src / usr.bin / ipcrm |
version 1.11, 2015/04/18 18:28:37 | version 1.12, 2015/07/26 22:17:34 | ||
---|---|---|---|
|
|
||
case 's': | case 's': | ||
target_id = strtonum(optarg, 0, INT_MAX, &errstr); | target_id = strtonum(optarg, 0, INT_MAX, &errstr); | ||
if (errstr) | if (errstr) | ||
errx(1, "-%c %s: %s\n", c, optarg, &errstr); | errx(1, "-%c %s: %s\n", c, optarg, errstr); | ||
if (c == 'q') | if (c == 'q') | ||
result = msgrm(0, target_id); | result = msgrm(0, target_id); | ||
else if (c == 'm') | else if (c == 'm') |