It's been replaced by ply_console_set_active_vt, and won't
work right because of ply-console anyway.
return count;
}
-void
-ply_switch_to_vt (int vt_number)
-{
- int fd;
-
- fd = open ("/dev/tty0", O_RDWR | O_NOCTTY);
-
- if (fd < 0)
- return;
-
- if (ioctl (fd, VT_ACTIVATE, vt_number) < 0)
- {
- close (fd);
- return;
- }
-
- ioctl (fd, VT_WAITACTIVE, vt_number);
- close (fd);
-}
-
-
/* vim: set ts=4 sw=4 expandtab autoindent cindent cino={.5s,(0: */
int ply_utf8_string_get_length (const char *string,
size_t n);
-void ply_switch_to_vt (int vt_number);
-
#endif
#endif /* PLY_UTILS_H */