Is there a replacement for unistd.h for Windows (Visual C)?

I’m porting a relatively simple console program written for Unix to the Windows platform (Visual C++ 8.0). All the source files include “unistd.h”, which doesn’t exist. Removing it, I get complaints about misssing prototypes for ‘srandom’, ‘random’, and ‘getopt’. I know I can replace the random functions, and I’m pretty sure I can find/hack-up a … Read more