adopted an updated path to a test script.
[AROS.git] / compiler / posixc / alphasort.c
blobf4a1cf76aa6cb4b31e67d1903b3a7f32cba7252f
1 /*
2 Copyright © 1995-2017, The AROS Development Team. All rights reserved.
3 $Id$
5 POSIX.1-2008 function alphasort().
6 */
8 #include <string.h>
10 /*****************************************************************************
12 NAME */
13 #include <dirent.h>
15 int alphasort (
17 /* SYNOPSIS */
18 const struct dirent **a,
19 const struct dirent **b
22 /* FUNCTION
23 Support function for scandir().
25 INPUTS
27 RESULT
29 NOTES
31 EXAMPLE
33 BUGS
35 SEE ALSO
36 scandir()
38 INTERNALS
40 ******************************************************************************/
42 return strcoll((*a)->d_name, (*b)->d_name);