cctools
sort_dir.h
Go to the documentation of this file.
1/*
2Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin
3Copyright (C) 2022 The University of Notre Dame
4This software is distributed under the GNU General Public License.
5See the file COPYING for details.
6*/
7
8#ifndef SORT_DIR_H
9#define SORT_DIR_H
10
34int sort_dir(const char *dirname, char ***list, int (*sort) (const char *a, const char *b));
35
39void sort_dir_free( char **list );
40
41#endif
void sort_dir_free(char **list)
Free a sorted directory listing.
int sort_dir(const char *dirname, char ***list, int(*sort)(const char *a, const char *b))
Obtain a sorted directory listing.