Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
8687 turbocat 1
 
2
#include 
3
#include 
4
#include 
5
6
 
7
{
8
    static char	*buf=NULL;
9
    int		printed=0, rc = 0;
10
11
 
12
        errno = EBADF;
13
        return errno;
14
    }
15
    if(!format){
16
        errno = EINVAL;
17
        return errno;
18
    }
19
20
 
21
22
 
23
        errno = ENOMEM;
24
        return errno;
25
    }
26
27
 
28
  	rc = fwrite(buf, sizeof(char), printed, file);
29
    free(buf);
30
    return rc;
31
}
32