mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
initial import
This commit is contained in:
16
sysdeps/unix/bsd/bsd4.4/direct.h
Normal file
16
sysdeps/unix/bsd/bsd4.4/direct.h
Normal file
@ -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
|
Reference in New Issue
Block a user