
#include <dos.h>
#include <proto/dos.h>
#include <libraries/dos.h>
#include "defines.h"
#include "cus.h"

int exists(char *cpPath)
{
	BPTR wpLock = NULL;
	int rc;

	if ((wpLock = Lock(cpPath, SHARED_LOCK)) == NULL)
		CU(FALSE);
	rc = TRUE;

	CUS:
	if (wpLock)
		UnLock(wpLock);
	return (rc);
}

