esp_apptrace_fwrite() function
Writes to file on host. This function has the same semantic as 'fwrite' except for the first argument.
Arguments
dest
Indicates HW interface to use.
ptr
Address of data to write.
nmemb
Number of items to write.
stream
File handle returned by esp_apptrace_fopen.
Return value
Number of written items. See fwrite for details.