Small improvement in man page readdir(3)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In NOTES section says Linux use the d_type field of the struct dirent
which is only true with certain filesystem like ext2 and ext3. With
XFS and reiserfs d_type is always equal to 0.
I think would be a good idea to add just a small comment like "Under
certain filesystem like ext2 and ext3..." to avoid confussion.

Also there is a small typo in the SYNOPSIS section where there is an
extra line break between the two includes:
#include <sys/types.h>
     //extra line break here
#include <dirent.h>

I have the readdir(3) from 2007-07-30 which comes with the ubuntu 8.04
in the manpages-dev package version 2.77-1.

Thanks in advance for your attention.
-- 
Ricardo
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux