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é" <berrange@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: "Daniel P. Berrangé" <berrange@redhat.com>
Link: https://lore.kernel.org/r/20240311233335.17299-2-farosas@suse.de
Signed-off-by: Peter Xu <peterx@redhat.com>
2024-03-12 15:22:23 -04:00
..
2024-01-12 13:23:48 +00:00
2024-03-06 12:35:51 +00:00
2024-03-05 13:54:54 +00:00
2024-03-12 13:42:57 +00:00
2024-03-12 11:35:41 +00:00
2023-09-07 14:01:29 -04:00
2024-02-13 07:42:45 -10:00
2024-01-30 21:20:20 +03:00
2023-08-31 19:47:43 +02:00