title: Is there any Windows port of write() syscall from *nix unistd.h?
body: <p>I have a large code which was earlier built for Linux environment, which involves call to write() from unistd.h. Is there any port of write() call available for Win32 environment. I am looking to build this large code base 'as it is' on Windows environment(MS-VS 2005 enviroment) without touching the code if possible.</p>
  
  <p>Changing the code to  replace the write() calls  with fwrite() would be tedious manual process as the signatures of the two are different.</p>
  
  <p>EDITED: Actually many other unix based calls fail as well in Windows environment as well - read(),open(),close()...</p>
  
  <p>Any pointers would be useful.</p>
  
  <p>thank you.</p>
  
  <p>-AD</p>