libexplain  1.4.D001
Functions
libexplain/count_directory_entries.c File Reference
#include <libexplain/ac/dirent.h>
#include <libexplain/ac/string.h>
#include <libexplain/count_directory_entries.h>

Go to the source code of this file.

Functions

int explain_count_directory_entries (const char *pathname)

Function Documentation

int explain_count_directory_entries ( const char *  pathname)

The explain_count_directory_entries function may be used to count the number of directory entries, not counting "." and ".."

Parameters:
pathnameThe directory to count.
Returns:
The number of dorectory entries.

Definition at line 27 of file count_directory_entries.c.