This is me.c in view mode; [Download] [Up]
#include <stdio.h>
#include <mach.h>
#include <sys/errno.h>
main(int ac, char *av[])
{
if(ac != 2)
{
fprintf(stderr, "%s: Usage: %s <error-number>\n", *av, *av) ;
exit(1) ;
}
else
{
kern_return_t e = atoi(av[1]) ;
mach_error(av[0], e) ;
exit(0) ;
}
}
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.