This is freedir.c in view mode; [Download] [Up]
/* free list malloc'd by scandir */
void
freedir(list)
char **list;
{
char **s = list;
while (*s) {
free(*s++);
}
free((char *)list);
}
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.