home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d1xx
/
d179
/
launch.lha
/
Launch
/
wbcleanup.c
< prev
next >
Wrap
C/C++ Source or Header
|
1989-02-25
|
383b
|
20 lines
#include <exec/memory.h>
#include <workbench/startup.h>
#include <workbench/workbench.h>
struct MsgPort *rport, *CreatePort();
struct WBStartup *startup, *GetMsg();
main()
{
if(!(rport = CreatePort("Workbench.Cleanup", 0))) {
printf("Can't create Workbench.Cleanup port.\n");
exit(20);
}
while(1) {
WaitPort(rport);
startup = GetMsg(rport);
FreeStartup(startup);
}
}