Commit fc08208b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Improve vlc_readdir documentation

parent 2c7fa286
...@@ -311,8 +311,9 @@ DIR *vlc_opendir( const char *dirname ) ...@@ -311,8 +311,9 @@ DIR *vlc_opendir( const char *dirname )
* *
* @param dir The directory that is being read * @param dir The directory that is being read
* *
* @return a UTF-8 string of the directory entry. * @return a UTF-8 string of the directory entry. Use free() to release it.
* Use free() to free this memory. * If there are no more entries in the directory, NULL is returned.
* If an error occurs, errno is set and NULL is returned.
*/ */
char *vlc_readdir( DIR *dir ) char *vlc_readdir( DIR *dir )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment