aboutsummaryrefslogtreecommitdiff
path: root/os-posix.c
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2015-03-03 12:59:16 +0000
committerDaniel P. Berrange <berrange@redhat.com>2015-12-18 12:18:05 +0000
commit1c809fa01df0c638417480dfd446415615bfd217 (patch)
tree445e90c439c67a7c9b25f376e295edfcee2c0fbe /os-posix.c
parent666a3af9c858c22d254e545de3ffc3fb197a3187 (diff)
io: add helper module for creating watches on FDs
A number of the channel implementations will require the ability to create watches on file descriptors / sockets. To avoid duplicating this code in each channel, provide a helper API for dealing with file descriptor watches. There are two watch implementations provided. The first is useful for bi-directional file descriptors such as sockets, regular files, character devices, etc. The second works with a pair of unidirectional file descriptors such as pipes. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'os-posix.c')
0 files changed, 0 insertions, 0 deletions