PhoenixMock  1.8.7
Tools to split/merge/print mock used in Phoenix
phoenix_getFileSize.h
Go to the documentation of this file.
1 /***************************************
2  Auteur : Pierre Aubert
3  Mail : pierre.aubert@lapp.in2p3.fr
4  Licence : CeCILL-C
5 ****************************************/
6 
7 #ifndef __PHOENIX_GETFILESIZE_H__
8 #define __PHOENIX_GETFILESIZE_H__
9 
10 #include <stdio.h>
11 #include <string>
12 
13 size_t phoenix_getFileSize(FILE* fs);
14 size_t phoenix_getFileSize(const std::string & fileName);
15 
16 #endif
phoenix_getFileSize
size_t phoenix_getFileSize(FILE *fs)
Get the size of the given file in bytes.
Definition: phoenix_getFileSize.cpp:14