Yûki - No MakeFile
This commit is contained in:
parent
35865485a0
commit
e7305b7ab8
8 changed files with 532 additions and 45 deletions
|
|
@ -6,9 +6,8 @@
|
|||
#include <stdio.h>
|
||||
#define BLOCK_SIZE 128 //il faut changer sa valeur pour les tests avec blocsize = nb d'octet qu'on veut écrire
|
||||
|
||||
typedef struct
|
||||
{
|
||||
FILE*file; // Identificateur fichier
|
||||
struct zBin_file{
|
||||
FILE *file; // Identificateur fichier
|
||||
char mode; //Mode de lecture r ou w
|
||||
unsigned char record[BLOCK_SIZE]; //Tampon pour lire ou écrire
|
||||
int record_length; //nombre d'élèments du tampon
|
||||
|
|
@ -17,7 +16,9 @@ typedef struct
|
|||
int i_octet; //indice dansl'octet
|
||||
int nb_octets; //Nb octet lis/écrit
|
||||
|
||||
}Bin_file;
|
||||
};
|
||||
typedef struct zBin_file Bin_file;
|
||||
typedef struct zBin_file pBin_file;
|
||||
|
||||
Bin_file *Ouv_bit(char *p,char mode);
|
||||
|
||||
|
|
|
|||
Reference in a new issue