home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 7
/
FreshFishVol7.bin
/
bbs
/
gnu
/
aplusplus-1.01-src.lha
/
GNU
/
src
/
amiga
/
APlusPlus-1.01
/
amiproc
/
simple.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-01-14
|
287b
|
23 lines
#include <stdio.h>
#include "amiproc.h"
int func(void *string)
{
printf("%s\n", string);
return 0;
}
int main(void)
{
int rc;
struct AmiProcMsg *apm;
if(apm = AmiProc_Start(func, "This is a test"))
rc = AmiProc_Wait(apm);
else
rc = 20;
return rc;
}