> Standard typecasing does not work? > > while ((cp = (char *) getusershell()) != NULL) Yes, it works. Several OS such as IRXI do not have the getusershell(),setusershell() and endusershell() functions so we need to introduce those in a file "openbsd-compat/getusershell.c". -- ayamura