qdev: Use returned bool to check for failure, Coccinelle part
[qemu.git] / stubs / fdset.c
blob67dd5e1d347cac5567a9812242081b71b8e1f80b
1 #include "qemu/osdep.h"
2 #include "monitor/monitor.h"
4 int monitor_fdset_dup_fd_add(int64_t fdset_id, int dup_fd)
6 return -1;
9 int64_t monitor_fdset_dup_fd_find(int dup_fd)
11 return -1;
14 int monitor_fdset_get_fd(int64_t fdset_id, int flags)
16 return -ENOENT;
19 void monitor_fdset_dup_fd_remove(int dupfd)