fileio.h

来自「一个Windows下的Linux专用虚拟机」· C头文件 代码 · 共 35 行

H
35
字号
/* * This source code is a part of coLinux source package. * * Dan Aloni <da-x@colinux.org>, 2003 (c) * * The code is licensed under the GPL. See the COPYING file at * the root directory. * */#ifndef __CO_WINNT_KERNEL_FILEIO_H__#define __CO_WINNT_KERNEL_FILEIO_H__#include <colinux/kernel/monitor.h>#include "ddk.h"extern co_rc_t co_os_file_open(char *pathname, PHANDLE FileHandle,			       unsigned long open_flags);extern co_rc_t co_os_file_create(char *pathname, PHANDLE FileHandle, unsigned long open_flags,				 unsigned long file_attribute, unsigned long create_disposition,				 unsigned long options);extern co_rc_t co_os_file_block_read_write(co_monitor_t *linuxvm,					   HANDLE file_handle,					   unsigned long long offset,					   vm_ptr_t address,					   unsigned long size,					   bool_t read);extern co_rc_t co_os_file_close(PHANDLE FileHandle);#endif

⌨️ 快捷键说明

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