Module Name: src
Committed By: christos
Date: Tue Jan 28 01:29:35 UTC 2014
Modified Files:
src/sys/compat/sys: dirent.h
Log Message:
add a struct for the 4.3BSD struct direct
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/compat/sys/dirent.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/compat/sys/dirent.h
diff -u src/sys/compat/sys/dirent.h:1.2 src/sys/compat/sys/dirent.h:1.3
--- src/sys/compat/sys/dirent.h:1.2 Sun Dec 11 07:20:29 2005
+++ src/sys/compat/sys/dirent.h Mon Jan 27 20:29:35 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: dirent.h,v 1.2 2005/12/11 12:20:29 christos Exp $ */
+/* $NetBSD: dirent.h,v 1.3 2014/01/28 01:29:35 christos Exp $ */
/*-
* Copyright (c) 1989, 1993
@@ -34,6 +34,13 @@
#ifndef _COMPAT_SYS_DIRENT_H_
#define _COMPAT_SYS_DIRENT_H_
+struct dirent43 {
+ u_int32_t d_fileno; /* file number of entry */
+ u_int16_t d_reclen; /* length of this record */
+ u_int16_t d_namlen; /* length of string in d_name */
+ char d_name[255 + 1]; /* name must be no longer than this */
+};
+
struct dirent12 {
u_int32_t d_fileno; /* file number of entry */
u_int16_t d_reclen; /* length of this record */