Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/prelude/IO/HIsEOF.hs
module IO (hIsEOF) where import DHandle foreign import ccall "hIsEOF" hIsEOFC :: ForeignObj -> IO Bool hIsEOF :: Handle -> IO Bool hIsEOF (Handle h) = hIsEOFC h