phobos: What type to use instead of File when doing I/O on streams?
    Adam D. Ruppe via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Mon Nov  9 12:13:14 PST 2015
    
    
  
On Monday, 9 November 2015 at 19:42:53 UTC, J.Frank wrote:
> (BTW. Where do I find select()/poll() in phobos?)
They are in `core.sys.posix.sys.select`
In general, OS headers for Posix in C like "sys/select.h" can be 
gotten by "import core.sys.posix.sys.select;" <unistd.h> is in 
"core.sys.posix.unistd"
Linux-specific ones like sys/epoll.h are in 
`core.sys.linux.sys.epoll`
and so on
    
    
More information about the Digitalmars-d-learn
mailing list