Sets the attributes that are to be used when searching for files and directories by calling the readdir function
#include <nwfileio.h>
int SetReaddirAttribute (
DIR *dirP,
unsigned long newAttribute);
(IN) Points to the DIR structure obtained by calling opendir or readdir.
(IN) Specifies the new attribute.
Returns a value of 0 if successful, nonzero otherwise.
SetReaddirAttribute can be called any time after the DIR structure has been obtained from the opendir function. The modified search attributes are in effect for calling the readdir function.
The following search attributes are defined: