blob: be05faae96cc6c841adc1a2a944d3c8cca9deb1f [file] [log] [blame]
#include <fcntl.h>
#include "libc.h"
int creat(const char *filename, mode_t mode)
{
return open(filename, O_CREAT|O_WRONLY|O_TRUNC, mode);
}
LFS64(creat);