Files
qemu/io
Fabiano Rosas 4760cedc61 io: Introduce qio_channel_file_new_dupfd
Add a new helper function for creating a QIOChannelFile channel with a
duplicated file descriptor. This saves the calling code from having to
do error checking on the dup() call.

Suggested-by: "Daniel P. Berrangé" <[email protected]>
Signed-off-by: Fabiano Rosas <[email protected]>
Reviewed-by: "Daniel P. Berrangé" <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Peter Xu <[email protected]>
2024-03-12 15:22:23 -04:00
..
2020-10-29 09:57:37 +00:00