creat.c
来自「RTEMS (Real-Time Executive for Multiproc」· C语言 代码 · 共 20 行
C
20 行
/* * $Id: creat.c,v 1.3 2001/01/08 18:26:44 joel Exp $ *//* creat() "system call" */#if HAVE_CONFIG_H#include "config.h"#endif/* 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 + -
显示快捷键?