#include <net_config.h>
U16 tftpc_fwrite (
FILE* file, /* Pointer to the file to write to. */
U8* buf, /* Pointer to the buffer containing the data. */
U16 len ); /* Number of bytes to write. */
Description
The tftpc_fwrite function writes a block of data to the
local file identified by the file stream pointer. The argument
buf points to the buffer containing the data that is to be
written to the file. The argument len specifies the number of
bytes to write to the file.
The tftpc_fwrite function is in the TFTPC_uif.c module. The
prototype is defined in net_config.h.
note
The tftpc_fwrite function must write len bytes.
The TFTP Client stops writing and closes the TFTP session, if the
return value is less than len bytes.
This is an interface function of TFTP Client.
Return Value
The tftpc_fwrite function returns the number of bytes
written to the file.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.