This event and POLLOUT are mutually-exclusive; a stream can never be writable if a hangup has occurred. However, this event and POLLIN, POLLRDNORM, POLLRDBAND, or POLLPRI are not mutually-exclusive.
This flag is only valid in the revents bitmask; it shall be ignored in the events member.
# The device has been disconnected.
#
# This event and POLLOUT are mutually-exclusive; a stream can never be
# writable if a hangup has occurred. However, this event and POLLIN,
# POLLRDNORM, POLLRDBAND, or POLLPRI are not mutually-exclusive.
#
# This flag is only valid in the revents bitmask; it shall be ignored in the events member.
new pollhup `{ return POLLHUP; `}
lib/socket/socket_c.nit:559,2--566,34