#include <stdlib.h>
#include <fcntl.h>
#include <err.h>
#include <sys/stat.h>

int
main(void)
{
    int fd;

    if ((fd = creat("creat.tmp", S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH)) == -1)
        err(EXIT_FAILURE, "creat");

    exit(EXIT_SUCCESS);
}
