⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fcntl.h

📁 T-kernel 的extension源代码
💻 H
字号:
/* *---------------------------------------------------------------------- *    T-Kernel / Standard Extension * *    Copyright (C) 2006 by Ken Sakamura. All rights reserved. *    T-Kernel / Standard Extension is distributed  *      under the T-License for T-Kernel / Standard Extension. *---------------------------------------------------------------------- * *    Version:   1.00.00 *    Released by T-Engine Forum(http://www.t-engine.org) at 2006/8/11. * *---------------------------------------------------------------------- *//* *	fcntl.h * */#ifndef __STDFILE_FCNTL_H__#define	__STDFILE_FCNTL_H__#include "sys/types.h"#ifdef __cplusplusextern "C" {#endif/* open() access mode */#define	O_RDONLY	0x0000U		/* Read only */#define	O_WRONLY	0x0001U		/* Write only */#define	O_RDWR		0x0002U		/* Read and write */#define	O_ACCMODE	0x0003U		/* Access mode mask *//* open() option */#define	O_CREAT		0x0200U		/* Generate file if there is none */#define	O_TRUNC		0x0400U		/* Delete file content */#define	O_EXCL		0x0800U		/* If there is file, return error. */#define	O_APPEND	0x0008U		/* Always add to the end *//* * System call */extern int	open( const char *path, int oflag, .../*int mode*/ );extern int	creat( const char *path, mode_t mode );#ifdef __cplusplus}#endif#endif /* __STDFILE_FCNTL_H__ */

⌨️ 快捷键说明

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