/*************************************************************** SYS-CREAT.C This file contains Linux/i386/ILP32 implementation of __cpu_sys_creat(). PART OF : CPU - library . USAGE : Internal only . Copyright (C) 2026 by Andrew V.Kosteltsev. All Rights Reserved. ***************************************************************/ #ifdef HAVE_CONFIG_H #include #endif #include #include __mpu_int64_t __cpu_sys_creat( int dirfd, const char *path, __mpu_uint64_t mode ) { return( __cpu_sys_open( dirfd, path, __CPU_O_WRONLY | __CPU_O_CREAT | __CPU_O_TRUNC, mode ) ); } /* End of __cpu_sys_creat() */