mirror of https://github.com/mkerrisk/man-pages
ffix + tfix
This commit is contained in:
parent
d70f215a20
commit
8587f5c022
|
@ -34,8 +34,9 @@ getdents \- get directory entries
|
|||
.B #include <linux/dirent.h>
|
||||
.B #include <linux/unistd.h>
|
||||
.B #include <errno.h>
|
||||
.sp
|
||||
.BI "int getdents(unsigned int " fd ", struct dirent *" dirp ", unsigned int " count );
|
||||
|
||||
.BI "int getdents(unsigned int " fd ", struct dirent *" dirp ,
|
||||
.BI " unsigned int " count );
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
This is not the function you are interested in.
|
||||
|
@ -70,8 +71,8 @@ struct linux_dirent {
|
|||
char d_name []; /* Filename (null-terminated) */
|
||||
/* length is actually (d_reclen \- 2 \-
|
||||
offsetof(struct linux_dirent, d_name) */
|
||||
/* char pad; Zero padding byte */
|
||||
/* char d_type; File type (only since Linux 2.6.4;
|
||||
char pad; /* Zero padding byte */
|
||||
char d_type; /* File type (only since Linux 2.6.4;
|
||||
offset is (d_reclen \- 1)) */
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue