diff options
author | Roland McGrath <roland@gnu.org> | 1995-02-18 01:27:10 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-02-18 01:27:10 +0000 |
commit | 28f540f45bbacd939bfd07f213bcad2bf730b1bf (patch) | |
tree | 15f07c4c43d635959c6afee96bde71fb1b3614ee /sysdeps/unix/bsd/bsd4.4/direct.h | |
download | glibc-28f540f45bbacd939bfd07f213bcad2bf730b1bf.tar.gz |
initial import
Diffstat (limited to 'sysdeps/unix/bsd/bsd4.4/direct.h')
-rw-r--r-- | sysdeps/unix/bsd/bsd4.4/direct.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sysdeps/unix/bsd/bsd4.4/direct.h b/sysdeps/unix/bsd/bsd4.4/direct.h new file mode 100644 index 0000000000..06641fc955 --- /dev/null +++ b/sysdeps/unix/bsd/bsd4.4/direct.h @@ -0,0 +1,16 @@ +#ifndef MAXNAMLEN +#define MAXNAMLEN 255 +#endif + +struct direct + { + unsigned long int d_fileno; + unsigned short int d_reclen; + unsigned char d_type; /* File type, possibly unknown. */ + unsigned char d_namlen; /* Length of the file name. */ + char d_name[MAXNAMLEN + 1]; + }; + +#define D_NAMLEN(d) ((d)->d_namlen) + +#define HAVE_D_TYPE |