cdev.h

Functions and definitions to create virtual character devices for guests. Use these functions to create virtual devices through which a guest can output to a host character device, and through which a guest can receive input from another or the same host character device.

The input host character device must be a TTY device. There are no restrictions on the host output character device.