📄 zfs_file.c
字号:
/*** Copyright 2002, Travis Geiselbrecht. All rights reserved.** Distributed under the terms of the NewOS License.*/#include <kernel/kernel.h>#include <kernel/vfs.h>#include <kernel/heap.h>#include <kernel/lock.h>#include <kernel/vm.h>#include <kernel/debug.h>#include <string.h>#include "zfs.h"int zfs_open(fs_cookie fs, fs_vnode v, file_cookie *cookie, int oflags){ return ERR_NOT_IMPLEMENTED;}int zfs_close(fs_cookie fs, fs_vnode v, file_cookie cookie){ return ERR_NOT_IMPLEMENTED;}int zfs_freecookie(fs_cookie fs, fs_vnode v, file_cookie cookie){ return ERR_NOT_IMPLEMENTED;}int zfs_fsync(fs_cookie fs, fs_vnode v){ return ERR_NOT_IMPLEMENTED;}ssize_t zfs_read(fs_cookie fs, fs_vnode v, file_cookie cookie, void *buf, off_t pos, ssize_t len){ return ERR_NOT_IMPLEMENTED;}ssize_t zfs_write(fs_cookie fs, fs_vnode v, file_cookie cookie, const void *buf, off_t pos, ssize_t len){ return ERR_NOT_IMPLEMENTED;}int zfs_seek(fs_cookie fs, fs_vnode v, file_cookie cookie, off_t pos, seek_type st){ return ERR_NOT_IMPLEMENTED;}int zfs_ioctl(fs_cookie fs, fs_vnode v, file_cookie cookie, int op, void *buf, size_t len){ return ERR_NOT_IMPLEMENTED;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -