ParseEntry(entry, path, sect, page) char *entry, *path, *page, *sect;
ParseEntry(entry, path, sect, page, suffix) char *entry, *path, *page, *sect, *suffix;
ParseEntry(entry, path, sect, page)char *entry, *path, *page, *sect;{  char *c, temp[BUFSIZ];  strcpy(temp, entry);  c = rindex(temp, '/');  if (c == NULL)     PrintError("index failure in ParseEntry.");  *c++ = '\0';  if (page != NULL)    strcpy(page, c);  c = rindex(temp, '/');  if (c == NULL)     PrintError("index failure in ParseEntry.");  *c++ = '\0';#if defined(__OpenBSD__) || defined(__NetBSD__)  /* Skip machine subdirectory if present */  if (strcmp(c, MACHINE) == 0) {      c = rindex(temp, '/');      if (c == NULL) 	  PrintError("index failure in ParseEntry.");      *c++ = '\0';  }#endif   if (sect != NULL)    strcpy(sect, c);  if (path != NULL)    strcpy(path, temp);}