Searched refs:roAddr (Results 1 - 1 of 1) sorted by relevance

/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dnameshm1.c225 char *roAddr; /* read-only address of shared memory segment */ local
243 roAddr = PR_AttachSharedMemory( shm , PR_SHM_READONLY );
244 if ( NULL == roAddr )
252 ( "nameshm1: RO Attach: success: %p", roAddr ));
256 *roAddr = 0x00; /* write to read-only memory */
262 rc = PR_DetachSharedMemory( shm, roAddr );

Completed in 1253 milliseconds