#include "../hos.h" // file system calls int do_creat(char *fname){ struct Inode *ldir_inode; struct DirBlock *ldir; int …
Font+File 源代码
汇集 Font+File 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
#include "fs.h" void FB_dump(char *blk){ int i; unsigned long *buf; buf=(unsigned long *)blk; for(i=0;i
#ifndef FILEBLOCK_H #define FILEBLOCK_H #define BLKSIZE 512 #define MAX_FBT 32 struct FBlock{ long blk_nr; // block number …
#include "../hos.h" // file system calls int do_creat(char *fname){ struct Inode *ldir_inode; struct DirBlock *ldir; int …
#include "fs.h" void FB_dump(char *blk){ int i; unsigned long *buf; buf=(unsigned long *)blk; for(i=0;i
#ifndef FILEBLOCK_H #define FILEBLOCK_H #define MAX_FBT 32 struct FBlock{ long blk_nr; // block number int dirty; char …
#include "../hos.h" // file system calls int do_creat(char *fname){ struct Inode *ldir_inode; struct DirBlock *ldir; int …