DRVCTLDEV
drvctl_fd = open(DRVCTLDEV, O_RDWR);
err(EXIT_FAILURE, "couldn't open " DRVCTLDEV);
fd = open(DRVCTLDEV, OPEN_MODE(mode), 0);
err(EXIT_FAILURE, "open %s", DRVCTLDEV);
int fd = open(DRVCTLDEV, O_RDONLY, 0);
fd = open(DRVCTLDEV, O_RDONLY);
atf_tc_skip("no " DRVCTLDEV " available for testing");
fd = open(DRVCTLDEV, O_RDONLY);
warn("open %s", DRVCTLDEV);
fd = open(DRVCTLDEV, O_RDONLY, 0);
int fd = open(DRVCTLDEV, O_RDONLY, 0);