RTEMS  5.0.0
Functions
getdents.c File Reference

Get Directory Entries. More...

#include <errno.h>
#include <rtems/score/objectimpl.h>
#include <rtems/libio_.h>
#include <rtems/seterr.h>

Functions

int getdents (int dd_fd, char *dd_buf, int dd_len)
 

Detailed Description

Get Directory Entries.

Function Documentation

◆ getdents()

int getdents ( int  dd_fd,
char *  dd_buf,
int  dd_len 
)

SVR4 and SVID extension required by Newlib readdir() family.

This routine will dd_len / (sizeof dirent) directory entries relative to the current directory position index. These entries will be placed in character array pointed to by -dd_buf-