X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/95f51977ddc18faa2e212f30c00a39540b39f325..ca67e7b465996afb3821d6a075c4dc6a7f0f5d52:/usr/src/sys/h/dir.h diff --git a/usr/src/sys/h/dir.h b/usr/src/sys/h/dir.h index aaf362aea3..2dfd75ddcf 100644 --- 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. * - * @(#)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; + +#define dirfd(dirp) ((dirp)->dd_fd) + #ifndef NULL #define NULL 0 #endif