YedFileMan - Is_File, Is_Directory, Is_Socket, Is_Link
NAME:
Is_File
Is_Directory
Is_Socket
Is_Link
SYNOPSIS:
SINT Is_File(void *pvO,SCHAR
*pscFile);
SINT Is_Directory(void *pvO,SCHAR *pscFile);
SINT Is_Socket(void *pvO,SCHAR *pscFile);
SINT Is_Link(void *pvO,SCHAR *pscFile);
DESCRIPTION:
These methods are used to get the type of pscFile.
pvO is the instance of the object
invoking the method.
RETURN
VALUE:
These methods return 0 if pscFile
is not of the implicit type in method name, a value different from 0 otherwise.
In example, if pscFile is a regular
file, Is_File method returns
a value different from 0, whereas Is_Link
returns 0.