Wednesday, July 18, 2007

File System Functions UnAugmentAsterisk

File System Functions 325

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
void UnAugmentAsterisk (
int yesno);
Parameters
yesno
(IN) Specifies whether to return all files and subdirectory names for the long name space:
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 (page 297), readdir (page 301)

This function is so great , it make me happy and help me fix a daemon bug.

Labels:


Comments: Post a Comment

Subscribe to Post Comments [Atom]





<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]

Scrape It
Free Hit Counters
Scrape It