home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c221 / 1.ddi / MWHC.001 / G < prev    next >
Encoding:
Text File  |  1992-12-09  |  1.5 KB  |  36 lines

  1. /* $Log: cinit.c,v $
  2.  * Revision 1.4  1992/04/01  21:51:32  budis
  3.  * update copyright message for distrs.
  4.  *
  5.  * Revision 1.3  91/02/14  09:47:41  thomasn
  6.  * include Log header in source
  7.  *  */
  8. /*********************************************************************
  9. (C) Copyright 1987-1992;  Franklin L. DeRemer,   Thomas J. Pennello,
  10.                          MetaWare Incorporated;  Santa Cruz, CA 95060.
  11. This program is the unpublished property and trade secret of the above
  12. three.  It is to be utilized solely under license from MetaWare and it
  13. is to be maintained on a confidential basis for internal  company  use
  14. only.  The  security  and  protection  of  the program is paramount to
  15. maintenance of the trade secret status.  It is to  be  protected  from
  16. disclosure  to  unauthorized parties, both within the Licensee company
  17. and outside, in a manner not less stringent than that utilized for Li-
  18. censee's own proprietary  internal  information.   No  copies  of  the
  19. Source or Object Code are to leave the premises of Licensee's business
  20. except  in  strict accordance with the license agreement signed by Li-
  21. censee with MetaWare.
  22. *********************************************************************/
  23.  
  24. #include <stdlib.h>    
  25. #include "init.h"
  26.  
  27. static int argc; 
  28. extern int __main(int argc, char *argv[]);
  29.  
  30. void _cinit(){
  31.     _mwinit_env_area();
  32.     _mwcall_onentry_fcns();
  33.     argc = _mwset_up_args(_mwargvp);
  34.     exit(__main(argc, _mwargvp));
  35.     }
  36.