Return to logger.c CVS log | Up to [local] / src / usr.bin / logger |
version 1.2, 1996/06/26 05:35:58 | version 1.3, 1997/01/15 23:42:45 | ||
---|---|---|---|
|
|
||
tag = NULL; | tag = NULL; | ||
pri = LOG_NOTICE; | pri = LOG_NOTICE; | ||
logflags = 0; | logflags = 0; | ||
while ((ch = getopt(argc, argv, "f:ip:st:")) != EOF) | while ((ch = getopt(argc, argv, "f:ip:st:")) != -1) | ||
switch((char)ch) { | switch((char)ch) { | ||
case 'f': /* file to log */ | case 'f': /* file to log */ | ||
if (freopen(optarg, "r", stdin) == NULL) { | if (freopen(optarg, "r", stdin) == NULL) { |