projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD 4_3_Tahoe release
[unix-history]
/
usr
/
src
/
sys
/
h
/
dir.h
diff --git
a/usr/src/sys/h/dir.h
b/usr/src/sys/h/dir.h
index
aaf362a
..
2dfd75d
100644
(file)
--- a/
usr/src/sys/h/dir.h
+++ b/
usr/src/sys/h/dir.h
@@
-3,7
+3,7
@@
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
- * @(#)dir.h 7.
1 (Berkeley) 6/4
/86
+ * @(#)dir.h 7.
2 (Berkeley) 12/22
/86
*/
/*
*/
/*
@@
-65,6
+65,9
@@
typedef struct _dirdesc {
long dd_size;
char dd_buf[DIRBLKSIZ];
} DIR;
long dd_size;
char dd_buf[DIRBLKSIZ];
} DIR;
+
+#define dirfd(dirp) ((dirp)->dd_fd)
+
#ifndef NULL
#define NULL 0
#endif
#ifndef NULL
#define NULL 0
#endif