mirror of https://github.com/mkerrisk/man-pages
getdents.2: Minor fixes
2 typos: * Wrong end of comments * etx3 should be ext3 Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
5541fa5210
commit
f7bf69adcc
|
@ -66,7 +66,7 @@ struct linux_dirent {
|
|||
/* length is actually (d_reclen \- 2 \-
|
||||
offsetof(struct linux_dirent, d_name) */
|
||||
/*
|
||||
char pad; // Zero padding byte */
|
||||
char pad; // Zero padding byte
|
||||
char d_type; // File type (only since Linux 2.6.4;
|
||||
// offset is (d_reclen \- 1))
|
||||
*/
|
||||
|
@ -128,7 +128,7 @@ attempting to access this field always provides the value 0
|
|||
Currently,
|
||||
.\" kernel 2.6.27
|
||||
.\" The same sentence is in readdir.2
|
||||
only some file systems (among them: Btrfs, ext2, etx3, and ext4)
|
||||
only some file systems (among them: Btrfs, ext2, ext3, and ext4)
|
||||
have full support for returning the file type in
|
||||
.IR d_type .
|
||||
All applications must properly handle a return of
|
||||
|
|
Loading…
Reference in New Issue