_NAME_ directoryExists _PROTOTYPE_ int directoryExists(char *path); _SHORT-DESCRIPTION_ Check on the existence of a directory _DESCRIPTION_ directoryExists is used primarily by the put data routines to check if an archive directory already exists (before createDirectory is called). Returns 1 (true) if the directory does exist, and 0 (false) if not. _SHORT-CODE-SAMPLE_ char directoryPath[] = "/home/idunn1/rgr/dataStorage"; if (directoryExists(directoryPath)) printf("%s exists.\n", directoryPath); else printf("%s does not exist.\n", directoryPath); _INPUT_ * A pointer to the directory's path string. _OUTPUT_ * 1 if the directory exists. * 0 if the file does not exist (or if the directory is actually a file.)