Re: [PATCH 01/20] io: add a QIOChannelNull equivalent to /dev/null

2022-06-16 Thread Daniel P . Berrangé
On Tue, May 24, 2022 at 04:14:31PM -0500, Eric Blake wrote: > On Tue, May 24, 2022 at 12:02:16PM +0100, Daniel P. Berrangé wrote: > > This is for code which needs a portable equivalent to a QIOChannelFile > > connected to /dev/null. > > > > Signed-off-by: Daniel P. Berrangé > > --- > > include/i

Re: [PATCH 01/20] io: add a QIOChannelNull equivalent to /dev/null

2022-05-24 Thread Eric Blake
On Tue, May 24, 2022 at 12:02:16PM +0100, Daniel P. Berrangé wrote: > This is for code which needs a portable equivalent to a QIOChannelFile > connected to /dev/null. > > Signed-off-by: Daniel P. Berrangé > --- > include/io/channel-null.h | 55 +++ > io/channel-null.c

[PATCH 01/20] io: add a QIOChannelNull equivalent to /dev/null

2022-05-24 Thread Daniel P . Berrangé
This is for code which needs a portable equivalent to a QIOChannelFile connected to /dev/null. Signed-off-by: Daniel P. Berrangé --- include/io/channel-null.h | 55 +++ io/channel-null.c | 237 ++ io/meson.build| 1 +