UnAugmentAsterisk

Makes the *.* pattern return all files and subdirectory names for the long (OS/2) name space

Local Servers:nonblocking
Remote Servers:N/A
NetWare Server:5.x, 6.x
Platform:NLM
Service:File System

Syntax

   #include <nwfileio.h>
   
   void UnAugmentAsterisk (
      int   yesno);
   

Parameters

yesno

(IN) Specifies whether to return all files and subdirectory names for the long name space:

TRUE

The *.* pattern returns all file and subdirectory names for the long name space.

FALSE

(default) The *.* pattern does not return file and directory names in the long name space that contain more than one dot.

Remarks

The default behavior for opendir and readdir is to interpret a pattern of *.* to return only those file and directory names that contain only one dot. Therefore, the pattern *.* guarantees that all files are returned for the DOS name space only. Calling UnAugmentAsterisk allows you to use *.* to return all file and directory names for the long name space as well.

NOTE:The name of the function refers to the fact that the high bit for the asterisk character in the pattern is set by default. This function reverses this setting.

See Also

opendir, readdir