[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] io: Introduce qio_channel_file_new_dupfd
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH 1/2] io: Introduce qio_channel_file_new_dupfd |
Date: |
Tue, 12 Mar 2024 09:52:35 +0000 |
User-agent: |
Mutt/2.2.12 (2023-09-09) |
On Mon, Mar 11, 2024 at 08:33:34PM -0300, Fabiano Rosas wrote:
> 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>
> ---
> include/io/channel-file.h | 18 ++++++++++++++++++
> io/channel-file.c | 12 ++++++++++++
> 2 files changed, 30 insertions(+)
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|