Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/sys add a struct for the 4.3BSD struct direct
details: https://anonhg.NetBSD.org/src/rev/da0e598f9565
branches: trunk
changeset: 326385:da0e598f9565
user: christos <christos%NetBSD.org@localhost>
date: Tue Jan 28 01:29:35 2014 +0000
description:
add a struct for the 4.3BSD struct direct
diffstat:
sys/compat/sys/dirent.h | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 25b0c3998858 -r da0e598f9565 sys/compat/sys/dirent.h
--- a/sys/compat/sys/dirent.h Tue Jan 28 01:29:04 2014 +0000
+++ b/sys/compat/sys/dirent.h Tue Jan 28 01:29:35 2014 +0000
@@ -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 */
Home |
Main Index |
Thread Index |
Old Index