VT_DAEMON_CONSOLE_FILE
if ((daemonfd = open(VT_DAEMON_CONSOLE_FILE, O_RDWR)) < 0) {
if ((fd = open(VT_DAEMON_CONSOLE_FILE, O_WRONLY)) < 0)
if ((fd = open(VT_DAEMON_CONSOLE_FILE, O_WRONLY)) < 0)
if ((fd = open(VT_DAEMON_CONSOLE_FILE, O_RDONLY)) < 0)