checkremote
if ((cp = checkremote()) != NULL)
char *checkremote(void);
if ((s = checkremote()) != NULL)