Skip to content

Commit

Permalink
poll syscall - documented which bits are supported
Browse files Browse the repository at this point in the history
  • Loading branch information
tgrez committed Aug 8, 2019
1 parent 097b54d commit 8650d99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/System/Hatrace/Types.hsc
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ instance ArgFormatting PollEvents where
in if null granularPollEvents then "0" else intercalate "|" granularPollEvents
formatMode (PollEventsUnknown x) = show x

-- |Only explicitly defined in man pages poll bits are currently used.
data GranularPollEvents = GranularPollEvents
{ pollin :: Bool
, pollpri :: Bool
Expand Down

0 comments on commit 8650d99

Please sign in to comment.