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

int
main(int argc, char *argv[])
{
    //int rc = creat("file1", S_IRWXU); //
    int fd = open("file1",O_CREAT,S_IRWXU);
    assert(fd >= 0);
    return 0;
}

