creat.c

来自「标准c库代码,可以应用于各个系统提供了大量的基本函数」· C语言 代码 · 共 12 行

C
12
字号
/* creat() "system call" *//* This is needed by f2c and therefore the SPEC benchmarks.  */#include <fcntl.h>intcreat (const char *path, mode_t mode){  return open (path, O_WRONLY | O_CREAT | O_TRUNC, mode);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?