/* Test 3 -> Checks open() on non-existent
* file
**/

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


int main()
{
   int fd1 = -1;

   fd1 = open("non_existent_file", O_RDONLY);
   if(fd1 == -1) {
       return 0;
   } else
       return -1;
}
