home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Meeting Pearls 3
/
Meeting_Pearls_III.iso
/
Pearls
/
disk
/
Devs+Handler
/
proc
/
source
/
openwindow.c
next >
Wrap
C/C++ Source or Header
|
1995-06-24
|
365b
|
24 lines
/*
This small prg is necessary to debug the proc-fs...
It has to be started once, before you mount the proc-fs!
*/
main()
{
BPTR fh, fh2;
fh2 = *((BPTR *) 0);
printf( "%x\n", fh2 );
if( fh = Open( "con:0/11/640/89/Handler-Window", MODE_NEWFILE ) )
{
printf( "open %x\n", fh );
*((BPTR *) 0) = fh;
fh2 = *((BPTR *) 0);
printf( "%x\n", fh2 );
}
}