the disk[] is declared as in my 1st post,how would you read the characters?
Type: Posts; User: Chrishas
the disk[] is declared as in my 1st post,how would you read the characters?
Well i moved on from the initial problem of writing to the byte array
i get a segmentation fault from the following function, ipossibly from the fgetc but i dont know why
int readfs(char *...
As far as I could tell,since the description says to use an array of 1024 byte blocks to simulate the filesystem, and then goes on to say use blocks 0..127 of the disk(which is the array) that I have...
Hi,
I have to complete program which creates a simple filesystem by using an array of 1024 byte blocks by contiguous allocation and the following header:
#include <sys/stat.h>
typedef...