zfs_file.c

来自「newos is new operation system」· C语言 代码 · 共 56 行

C
56
字号
/*** 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 + =
减小字号Ctrl + -
显示快捷键?