home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 3
/
PDCD_3.iso
/
languages
/
c
/
oslib
/
Examples
/
p2-413
< prev
next >
Wrap
Text File
|
1994-03-24
|
410b
|
18 lines
#include <kernel.h>
#include "resourcefs.h"
extern resourcefs_file_list Files;
/*This is a CMHG-style service entry point.*/
void main_service (int service, _kernel_swi_regs *regs, void *workspace)
{ switch (service)
{ case Service_ResourceFSStarting:
(*(void (*) (resourcefs_file_list *, int, int, int)) regs->r [2])
(&Files, SKIP, SKIP, regs->r [3]);
break;
}
}