ffix + tfix

This commit is contained in:
Michael Kerrisk 2008-07-06 14:26:07 +00:00
parent d70f215a20
commit 8587f5c022
1 changed files with 5 additions and 4 deletions

View File

@ -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)) */
}