Note that using the dirent.d_type member is non-portable, and might

fail on some filesystems.

PR:             docs/11645
Submitted by:   Harold Gutch <logix@foobar.franken.de>
This commit is contained in:
Nik Clayton 1999-05-29 12:59:51 +00:00
parent 2e3912929b
commit 0de3e1544e
1 changed files with 4 additions and 1 deletions

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)dir.5 8.3 (Berkeley) 4/19/94
.\" $Id: dir.5,v 1.8 1997/03/19 03:48:12 bde Exp $
.\" $Id: dir.5,v 1.9 1998/02/24 02:39:00 bde Exp $
.\"
.Dd April 19, 1994
.Dt DIR 5
@ -148,6 +148,9 @@ struct dirent {
.Sh SEE ALSO
.Xr fs 5 ,
.Xr inode 5
.Sh BUGS
The usage of the member d_type of struct dirent is unportable as it is FreeBSD-specific.
It also may fail on certain filesystems, for example the cd9660 filesystem.
.Sh HISTORY
A
.Nm