#include <stdio.h>
#include <stdlib.h>
#inlcude <fcntl.h>

#ifdef __unix__
      #include <unistd.h>
#elif __MSDOS__
      #include <io.h>
#endif

int main()
{
 int handle;

 if((handle=open("adressen.txt", O_RDONLY | O_CREAT)) == -1)
  {
   printf("Fehler\n");
   exit (0);
  }
 if((close(handle)) == -1)
     printf("Fehler beim Schließen der Datei\n");
 else
     printf("Datei wurde ordentlich geschlossen\n");

 return 0;
}
