summaryrefslogtreecommitdiff
path: root/file_use.c
diff options
context:
space:
mode:
Diffstat (limited to 'file_use.c')
-rw-r--r--file_use.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/file_use.c b/file_use.c
index 3aae696..0cfa823 100644
--- a/file_use.c
+++ b/file_use.c
@@ -18,7 +18,7 @@ void f_file_null( f_file *f_f )
int f_file_seek( f_file *f_f, long offset, int seek )
{
int ret=-1;
- PRINT("\n");
+ //PRINT("\n");
if ( f_f )
{
if ( offset < 0 )
@@ -55,7 +55,7 @@ size_t f_file_read( f_file *f_f, size_t size, void *ptr )
{
size_t ret=-1;
- PRINT("\n");
+ //PRINT("\n");
if ( f_f )
{
if ( (f_f->flags == F_FILE_READ) ||
@@ -98,7 +98,7 @@ size_t f_file_readl( f_file *f_f, size_t size, void *ptr )
{
size_t ret=-1;
- PRINT("\n");
+ //PRINT("\n");
if ( f_f )
{
int c=0;
@@ -127,7 +127,7 @@ int f_file_size( f_file *f_f )
int ret=-1;
long old_seek;
- PRINT("\n");
+ //PRINT("\n");
if ( f_f )
{
//could make some logic break
@@ -149,7 +149,7 @@ int f_file_size( f_file *f_f )
//---------------------------------------------------------------------
size_t f_file_write( f_file *f_f, size_t size, void *ptr )
{
- PRINT("\n");
+ //PRINT("\n");
if ( f_f )
{
if ((f_f->flags == F_FILE_WRITE) ||
@@ -175,7 +175,7 @@ f_file* f_file_open( const char *fname, int flags )
char *f_flags_rw="r+";
char *f_flags_tmp=NULL;
- PRINT("\n");
+ //PRINT("\n");
if ( fname != NULL )
{
ret = malloc( sizeof( f_file ) );
@@ -228,7 +228,7 @@ exit_close_f:
//---------------------------------------------------------------------
int f_file_close( f_file *f_f )
{
- PRINT("\n");
+ //PRINT("\n");
if ( f_f )
{
fclose( f_f->fid );