diff options
author | peter <peter@FreeBSD.org> | 1997-03-11 11:35:56 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-03-11 11:35:56 +0000 |
commit | 724b89cfd3fcf9531a8abee51d88f8722ab252a9 (patch) | |
tree | 5a81d70e85130a51bbe4d2b35e4077607d6cc83a /lib/libc/sys/getdirentries.2 | |
parent | e8e23405def4966834a6703435257f5f00ed1ac1 (diff) | |
download | FreeBSD-src-724b89cfd3fcf9531a8abee51d88f8722ab252a9.zip FreeBSD-src-724b89cfd3fcf9531a8abee51d88f8722ab252a9.tar.gz |
Merge from Lite2 onto mainline -
- add undelete() and undelete.2 (requires libc minor bump some time)
- man page updates
Diffstat (limited to 'lib/libc/sys/getdirentries.2')
-rw-r--r-- | lib/libc/sys/getdirentries.2 | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/libc/sys/getdirentries.2 b/lib/libc/sys/getdirentries.2 index 42857bb..0400bc7 100644 --- a/lib/libc/sys/getdirentries.2 +++ b/lib/libc/sys/getdirentries.2 @@ -29,9 +29,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" @(#)getdirentries.2 8.1 (Berkeley) 6/9/93 +.\" @(#)getdirentries.2 8.2 (Berkeley) 5/3/95 .\" -.Dd June 9, 1993 +.Dd May 3, 1995 .Dt GETDIRENTRIES 2 .Os .Sh NAME @@ -67,7 +67,8 @@ structures each containing the following entries: .Bd -literal -offset indent unsigned long d_fileno; unsigned short d_reclen; -unsigned short d_namlen; +unsigned char d_type; +unsigned char d_namlen; char d_name[MAXNAMELEN + 1]; /* see below */ .Ed .Pp @@ -83,6 +84,11 @@ The .Fa d_reclen entry is the length, in bytes, of the directory record. The +.Fa d_type +entry is the type of the file pointed to by the directory record. +The file type values are defined in +.Fa <sys/dirent.h> . +The .Fa d_name entry contains a null terminated file name. The |