.\" Modified 22 July 1995 by Michael Chastain <mec@duracef.shout.net>:
.\" Derived from 'readdir.2'.
.\" Modified Tue Oct 22 08:11:14 EDT 1996 by Eric S. Raymond <esr@thyrsus.com>
-.TH GETDENTS 2 2009-10-02 "Linux" "Linux Programmer's Manual"
+.TH GETDENTS 2 2008-10-28 "Linux" "Linux Programmer's Manual"
.SH NAME
getdents \- get directory entries
.SH SYNOPSIS
.B DT_UNKNOWN
The file type is unknown.
.PP
-Curently,
+Currently,
.\" kernel 2.6.27
-only ext2, ext3, and ext4 support returning the file type in
+.\" The same sentence is in readdir.2
+only some file systems (among them: ext2, etx3, and ext4)
+have full support returning the file type in
.IR d_type .
-On other file systems,
-this field is always set to
+All applications must properly handle a return of
.BR DT_UNKNOWN .
.SH "RETURN VALUE"
On success, the number of bytes read is returned.