home *** CD-ROM | disk | FTP | other *** search
- /*
-
- 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 );
- }
- }
-