| Summary |
#include <net_config.h>
U16 ftp_fread (
FILE* file, /* Pointer to the file to read from. */
U8* buf, /* Pointer to buffer, to store the data. */
U16 len ); /* Number of bytes to read. */
|
| Example |
U16 ftp_fread (void *file, U8 *buf, U16 len) {
/* Read 'len' bytes from file to buffer 'buf'. The file will be */
/* closed, when the number of bytes read is less than 'len'. */
return (fread (buf, 1, len, file));
}
|