#include <stdio.h>
#include <io.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>

int main(void)
{
  int h;

  h = open ("test", O_WRONLY | O_CREAT | O_BINARY, 0644);

  printf ("\n %i \n", h);

  close (h);

  return 0;
}
