mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
initial import
This commit is contained in:
13
sysdeps/unix/bsd/direct.h
Normal file
13
sysdeps/unix/bsd/direct.h
Normal file
@ -0,0 +1,13 @@
|
||||
#ifndef MAXNAMLEN
|
||||
#define MAXNAMLEN 255
|
||||
#endif
|
||||
|
||||
struct direct
|
||||
{
|
||||
unsigned int d_fileno; /* 32 bits. */
|
||||
unsigned short int d_reclen; /* 16 bits. */
|
||||
unsigned short int d_namlen; /* 16 bits. */
|
||||
char d_name[MAXNAMLEN + 1];
|
||||
};
|
||||
|
||||
#define D_NAMLEN(d) ((d)->d_namlen)
|
Reference in New Issue
Block a user