www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Proper way to access posix functions

reply Byron Heads <wyverex.cypher gmail.com> writes:
Whats the proper way to get access to some of the Posix functions?

ie. fork setsid...

import core.sys.posix.unistd;  //? Is it proper to import from core.sys ?

-B
Jun 17 2010
parent "Lars T. Kyllingstad" <public kyllingen.NOSPAMnet> writes:
On Thu, 17 Jun 2010 20:09:29 +0000, Byron Heads wrote:

 Whats the proper way to get access to some of the Posix functions?
 
 ie. fork setsid...
 
 import core.sys.posix.unistd;  //? Is it proper to import from core.sys

Yes, that is correct. :) -Lars
Jun 17 2010