Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!rpi!uupsi!sunic!tut!ra!rosenber From: rosenber@ra.abo.fi (Robin Rosenberg INF) Newsgroups: comp.sys.amiga.tech Subject: Re: Lattice's _tinymain Message-ID: Date: 6 Aug 90 02:32:33 GMT References: <1990Aug5.233606.13160@ux1.cso.uiuc.edu> Sender: rosenber@ra.abo.fi Distribution: comp Organization: Abo Akademi University, Finland Lines: 15 In-reply-to: ja26612@uxa.cso.uiuc.edu's message of 5 Aug 90 23:36:06 GMT >Hi. I was wondering if anyone out there has successfully used _tinymain to >replace _main to avoid opening a window on the workbench screen for stdin/out. >I tried the DEFINE _main=_tinymain in my BLINK command line, but it says >that _main is defined twice. I got the information from page G32 in the man. Simply name the main function _main instead of main. Then link normally. _main(char *argline) { /* whatever */ } ------------ Robin