* returns @c NULL. When not needed anymore, the returned value must
* be freed.
*/
-EAPI char *ecore_file_dir_get (const char *path);
+EAPI char *ecore_file_dir_get (const char *file);
/**
* @brief Checks if the given file can be read.
/**
* @brief Gets the path pointed by the given link.
*
- * @param lnk The name of the link.
+ * @param link The name of the link.
* @return The path pointed by link or NULL.
*
* This function returns the path pointed by @p link as a newly
* failure, the function returns @c NULL. When not needed anymore, the
* returned value must be freed.
*/
-EAPI char *ecore_file_strip_ext (const char *file);
+EAPI char *ecore_file_strip_ext (const char *path);
/**
* @brief Checks if the given directory is empty.
* of the notify methods (Inotify, Windows notification or polling) is
* availablethis function does nothing.
*/
-EAPI void ecore_file_monitor_del(Ecore_File_Monitor *ecore_file_monitor);
+EAPI void ecore_file_monitor_del(Ecore_File_Monitor *em);
/**
* @brief Gets the monitored path.
* returned by ecore_file_monitor_add(). If @p em is @c NULL, the
* function returns @c NULL.
*/
-EAPI const char *ecore_file_monitor_path_get(Ecore_File_Monitor *ecore_file_monitor);
+EAPI const char *ecore_file_monitor_path_get(Ecore_File_Monitor *em);
/* Path */
}
EAPI char *
-ecore_file_readlink(const char *lnk)
+ecore_file_readlink(const char *link)
{
char buf[PATH_MAX];
int count;
- if ((count = readlink(lnk, buf, sizeof(buf) - 1)) < 0) return NULL;
+ if ((count = readlink(link, buf, sizeof(buf) - 1)) < 0) return NULL;
buf[count] = 0;
return strdup(buf);
}