This is fmain.c in view mode; [Download] [Up]
extern int _X_argc; extern char **_X_argv; MAIN_() { int argc = _X_argc; char **argv = _X_argv; extern int _p_pcn_main(); return (_p_pcn_main(argc, argv)); } #ifdef 0 /* * This is what we used under v1.2.2. Its kindof a hack... */ extern int(*_Shared_entries[])(); int (**_Entries)() = _Shared_entries; int main(argc, argv) int argc; char *argv[]; { extern int _p_pcn_main(); _F_init(argc,argv,0,0); return (_p_pcn_main(argc, argv)); } #endif
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.