what is d_type in struct dirent ?
hai
i am pasting here the struct dirent structure .can any one tell what are the d_reclen and d_type fielde means?how can i check(access) them?
struct dirent
{
#ifndef __USE_FILE_OFFSET64
__ino_t d_ino;
__off_t d_off;
#else
__ino64_t d_ino;
__off64_t d_off;
#endif
unsigned short int d_reclen; -------------????
unsigned char d_type;---------------------????????
char d_name[256];
};
|