[Next] [Up] [Previous]
Next: GlobFree Up: Functions and procedures Previous: DirName

Glob

   

Declaration:

Function Glob (Const Path : Pathstr) : PGlob;

Description:

Glob returns a pointer to a glob structure which contains all filenames which exist and match the pattern in Path.

The pattern can contain wildcard characters, which have their usual meaning.

The pglob structure is defined as : Some more text.

Errors:

Returns nil on error, and LinuxError is set.

sys_enomem
No memory on heap for glob structure.
others
As returned by the opendir call, and sys_readdir.

See also:

GlobFree, Glob(3)



Michael Van Canneyt
Thu Dec 12 15:40:07 MET 1996