sort_dir.h
Go to the documentation of this file.
/*
Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin
Copyright (C) 2022 The University of Notre Dame
This software is distributed under the GNU General Public License.
See the file COPYING for details.
*/
#ifndef SORT_DIR_H
#define SORT_DIR_H
int sort_dir(const char *dirname, char ***list, int (*sort) (const char *a, const char *b));
void sort_dir_free( char **list );
#endif
sort_dir_free
void sort_dir_free(char **list)
Free a sorted directory listing.
sort_dir
int sort_dir(const char *dirname, char ***list, int(*sort)(const char *a, const char *b))
Obtain a sorted directory listing.