svn commit: r202691 - head/lib/libc/gen
Andrey A. Chernov
ache at FreeBSD.org
Wed Jan 20 11:55:14 UTC 2010
Author: ache
Date: Wed Jan 20 11:55:14 2010
New Revision: 202691
URL: http://svn.freebsd.org/changeset/base/202691
Log:
For alphasort() add reference to strcoll(3)
Modified:
head/lib/libc/gen/scandir.3
Modified: head/lib/libc/gen/scandir.3
==============================================================================
--- head/lib/libc/gen/scandir.3 Wed Jan 20 10:21:04 2010 (r202690)
+++ head/lib/libc/gen/scandir.3 Wed Jan 20 11:55:14 2010 (r202691)
@@ -81,7 +81,8 @@ The
function
is a routine which can be used for the
.Fa compar
-argument to sort the array alphabetically.
+argument to sort the array alphabetically using
+.Xr strcoll 3 .
.Pp
The memory allocated for the array can be deallocated with
.Xr free 3 ,
@@ -94,7 +95,8 @@ cannot allocate enough memory to hold al
.Xr directory 3 ,
.Xr malloc 3 ,
.Xr qsort 3 ,
-.Xr dir 5
+.Xr dir 5 ,
+.Xr strcoll 3
.Sh HISTORY
The
.Fn scandir
More information about the svn-src-all
mailing list