-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathop_bits.h
46 lines (36 loc) · 792 Bytes
/
op_bits.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef OP_BITS_H
#define OP_BITS_H
#include <stdio.h>
#include <limits.h>
/**
* \fn int tailleFichier(FILE*);
* \brief Renvoie la taille du fichier en paramètre (fichier préalablement ouvert)
*
* \param Pointeur sur le fichier à mesurer
**/
int tailleFichier(FILE*);
/**
* \fn void ecritNiemeBit(unsigned char *buff, unsigned char bit, int n);
* \brief
*
* \param buff
* \param bit
* \param n
**/
void ecritNiemeBit(unsigned char *buff, unsigned char bit, int n);
/**
* \fn unsigned char litNiemeBit(unsigned char *buff, int n);
* \brief
*
* \param buff
* \param n
**/
unsigned char litNiemeBit(unsigned char *buff, int n);
/**
* \fn void afficher_binaire(unsigned char a);
* \brief
*
* \param
**/
void afficher_binaire(unsigned char a);
#endif