home *** CD-ROM | disk | FTP | other *** search
- Path: god.bel.alcatel.be!nlev00!barnhoorn
- From: barnhoorn@nlev00 ()
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: CreateProc
- Date: 8 Mar 1996 08:04:30 GMT
- Organization: Alcatel Bell
- Distribution: world
- Message-ID: <4hopme$5qo@btmpjg.god.bel.alcatel.be>
- References: <9603072045.AA0011d@cliffe.demon.co.uk>
- Reply-To: barnhoorn@nlev00 ()
- NNTP-Posting-Host: 138.203.178.61
- X-Newsreader: mxrn 6.18-10
-
-
- In article <9603072045.AA0011d@cliffe.demon.co.uk>, Steve Chapman <steve@cliffe.demon.co.uk> writes:
- >
- >How do i use CreateNewProc or CreateProc as i can
- >not find any examples on how to use it.
- >
-
- void my_function(void)
- {
- printf("Yiha\n");
- }
-
- main()
- {
- /* some code... */
- CreateNewProcTags(
- NP_Entry, my_function,
- NP_StackSize, 1024*8,
- NP_Name, "My name",
- TAG_END);
- }
- --
- ---------------------------------------------------------------------------
- Jaco Barnhoorn barnie@xs4all.nl
- Software Test Engineer barnhoorn%nlev00@btmv56.se.bel.alcatel.be
- Alcatel Telecom Systems
- Rijswijk, The Netherlands
- ---------------------------------------------------------------------------
-