Return to midicat.c CVS log | Up to [local] / src / usr.bin / midicat |
version 1.2, 2019/06/28 13:35:02 | version 1.3, 2021/10/24 21:24:17 | ||
---|---|---|---|
|
|
||
if (strcmp(ifile, "-") == 0) | if (strcmp(ifile, "-") == 0) | ||
ifd = STDIN_FILENO; | ifd = STDIN_FILENO; | ||
else { | else { | ||
ifd = open(ifile, O_RDONLY, 0); | ifd = open(ifile, O_RDONLY); | ||
if (ifd == -1) { | if (ifd == -1) { | ||
perror(ifile); | perror(ifile); | ||
return 1; | return 1; |