Reworded CONFORMING TO statement on scandir() and alphasort().

This commit is contained in:
Michael Kerrisk 2006-06-14 19:19:41 +00:00
parent cc387badcb
commit fecfb77703
1 changed files with 7 additions and 5 deletions

View File

@ -84,11 +84,11 @@ respectively less than, equal to, or greater than the second.
.B ENOMEM
Insufficient memory to complete the operation.
.SH "CONFORMING TO"
None of these functions is in POSIX.
LSB has deprecated the library call
None of these functions are in POSIX.1, but
.BR alphasort ()
and never contained
.BR scandir ().
and
.BR scandir ()
are under consideration for a future revision to POSIX.1.
.LP
The functions
.BR scandir ()
@ -98,7 +98,8 @@ are from 4.3BSD, and have been available under Linux since libc4.
Libc4 and libc5 use the more precise prototype
.sp
.nf
.BI "int alphasort(const struct dirent **" a ", const struct dirent **" b );
int alphasort(const struct dirent ** a,
const struct dirent **b);
.fi
.sp
but glibc 2.0 returns to the imprecise BSD prototype.
@ -106,6 +107,7 @@ but glibc 2.0 returns to the imprecise BSD prototype.
The function
.BR versionsort ()
is a GNU extension, available since glibc 2.1.
.LP
Since glibc 2.1,
.BR alphasort ()
calls