(C) 1998 AROS - The Amiga Research OS


NAME

BOOL IsDosEntryA ()

SYNOPSIS
char * Name
ULONG Flags

FUNCTION
There is a need in file/directory proecessing where an application may need to determine whether a path is just a volume/device or assignment name.

INPUTS
Name
The path to test.

Flags
Any combination of the following:

LDF_ASSIGNS LDF_DEVICES LDF_VOLUMES

RESULT
Boolean True or False.

EXAMPLE
BOOL Success;

...

Success = IsDosEntryA("Work:", LDF_VOLUMES)
if (Success == TRUE)
{
  ...
}  
SEE ALSO
<dos/dosextens.h>

NOTES
Requires the programmer to open the utility.library and initialise UtilityBase.

In future releases the buffer size will be set via a taglist.

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
27.07.1997 laguest
A routine for determining whether a DosEntry is an assign, a volume or a device. If anyone can think of a better name for it, feel free to change it.

Initial inclusion into AROS repository.