c_readdir Interface

interface


Called by

interface~~c_readdir~~CalledByGraph interface~c_readdir c_readdir proc~find_layout find_layout proc~find_layout->interface~c_readdir proc~list_directory list_directory proc~list_directory->interface~c_readdir proc~list_directory->proc~find_layout proc~collect_files collect_files proc~collect_files->proc~list_directory proc~directory_files directory_files proc~directory_files->proc~collect_files proc~run run proc~run->proc~directory_files

private function c_readdir(dir) result(entry) bind(c, name='readdir'))

Arguments

Type IntentOptional Attributes Name
type(c_ptr), value :: dir

a directory opened by c_opendir

Return Value type(c_ptr)

Description

C readdir: the next struct dirent of dir, or a null pointer at the end.