libMapRClient for hadoop-0.20.2 and hadoop-2.x
Gets list of files and directories for a given path. Returns the information in a dynamically allocated array of
hdfsFreeFileInfo() should be called to deallocate memory when this structure is no longer needed.
This method is the equivalent of the
ls -l command.
The handle of the filesystem. Obtain this handle with one of the
The path of the directory.
Set to the number of files/directories in path. Cannot be 0 or NULL.
Returns a dynamically-allocated array of
hdfsFileInfo structures on success and NULL on error.
Check errno for error codes and meanings.