Article View: comp.sys.amiga.tech
Article #4720Re: Lattice's _tinymain
From: Robin Rosenberg INF
Date: Mon, 06 Aug 1990 02:32
Date: Mon, 06 Aug 1990 02:32
15 lines
1001 bytes
1001 bytes
>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
Technical Details
Message-ID:
<ROSENBER.90Aug6053233@ra.abo.fi>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!rpi!uupsi!sunic!tut!ra!rosenberReferences:
<1990Aug5.233606.13160@ux1.cso.uiuc.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <ROSENBER.90Aug6053233@ra.abo.fi> 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