/* $Source$ * $State$ * $Revision$ */ #include #include #include #include "libsys.h" int creat(const char* path, int mode) { return open(path, O_CREAT|O_WRONLY|O_TRUNC, mode); }