diff options
author | ache <ache@FreeBSD.org> | 2010-01-20 11:55:14 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2010-01-20 11:55:14 +0000 |
commit | 428cfaa66eaa12399ad521d9b0e272afc46ff702 (patch) | |
tree | b2bbe136675c9f18e886db5a4eaee966c2e71d47 /lib | |
parent | 479b4bd55d3e5c011349f9d309d54f67fcd0a666 (diff) | |
download | FreeBSD-src-428cfaa66eaa12399ad521d9b0e272afc46ff702.zip FreeBSD-src-428cfaa66eaa12399ad521d9b0e272afc46ff702.tar.gz |
For alphasort() add reference to strcoll(3)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/gen/scandir.3 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/gen/scandir.3 b/lib/libc/gen/scandir.3 index 5e177b9..e32b0d8 100644 --- a/lib/libc/gen/scandir.3 +++ b/lib/libc/gen/scandir.3 @@ -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 all the data structures. .Xr directory 3 , .Xr malloc 3 , .Xr qsort 3 , -.Xr dir 5 +.Xr dir 5 , +.Xr strcoll 3 .Sh HISTORY The .Fn scandir |