[SOLVED] CS代考计算机代写 file system #ifndef FILESYS_FILESYS_H

30 $

File Name: CS代考计算机代写_file_system_#ifndef_FILESYS_FILESYS_H.zip
File Size: 574.62 KB

SKU: 8144588578 Category: Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Or Upload Your Assignment Here:


#ifndef FILESYS_FILESYS_H
#define FILESYS_FILESYS_H

#include
#include “filesys/off_t.h”

/* Sectors of system file inodes. */
#define FREE_MAP_SECTOR 0 /* Free map file inode sector. */
#define ROOT_DIR_SECTOR 1 /* Root directory file inode sector. */

/* Block device that contains the file system. */
struct block *fs_device;

void filesys_init (bool format);
void filesys_done (void);
bool filesys_create (const char *name, off_t initial_size);
struct file *filesys_open (const char *name);
bool filesys_remove (const char *name);

#endif /* filesys/filesys.h */

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CS代考计算机代写 file system #ifndef FILESYS_FILESYS_H
30 $