]> git.tdb.fi Git - libs/core.git/blobdiff - source/io/poll.h
Interpret POLLHUP as end-of-file
[libs/core.git] / source / io / poll.h
index 09e00e5bbedb6313bea0832d09eb0e451a5ffe3d..952ea896068aff1c0da8bbcf2d14841a5364d3b2 100644 (file)
@@ -17,7 +17,8 @@ enum PollEvent
        P_INPUT = 1,
        P_PRIO = 2,
        P_OUTPUT = 4,
-       P_ERROR = 8
+       P_ERROR = 8,
+       P_HANGUP = 16
 };
 
 inline PollEvent operator|(PollEvent e, PollEvent f)