dm_ftp_write_unit_callback Function

public function dm_ftp_write_unit_callback(ptr, sz, nmemb, data) result(n) bind(c))

C-interoperable callback function to write received bytes to Fortran file unit passed in client data of type ftp_transfer_type. Do not call this function directly.

Arguments

Type IntentOptional Attributes Name
type(c_ptr), intent(in), value :: ptr

C pointer to a chunk of memory.

integer(kind=c_size_t), intent(in), value :: sz

Always 1.

integer(kind=c_size_t), intent(in), value :: nmemb

Size of the memory chunk.

type(c_ptr), intent(in), value :: data

C pointer to argument passed by caller.

Return Value integer(kind=c_size_t)

Function return value.


Calls

proc~~dm_ftp_write_unit_callback~~CallsGraph proc~dm_ftp_write_unit_callback dm_ftp_write_unit_callback c_f_str_ptr c_f_str_ptr proc~dm_ftp_write_unit_callback->c_f_str_ptr