PRFileMap   *fm;
PRFileMap   *fm = NULL;
extern PRFileMap * _md_ImportFileMapFromString(    const char *fmstring){    PRStatus    rc;    PRInt32     osfd;    PRIntn      prot; /* really: a PRFileMapProtect */    PRFileDesc  *fd;    PRFileMap   *fm;    PRFileInfo64 info;    PR_sscanf( fmstring, "%ld:%d", &osfd, &prot );    /* import the os file descriptor */    fd = PR_ImportFile( osfd );    if ( NULL == fd ) {        PR_LOG( _pr_shma_lm, PR_LOG_DEBUG,            ("_md_ImportFileMapFromString(): PR_ImportFile() failed"));        goto Finished;    }    rc = PR_GetOpenFileInfo64( fd, &info );    if ( PR_FAILURE == rc )  {        PR_LOG( _pr_shma_lm, PR_LOG_DEBUG,            ("_md_ImportFileMapFromString(): PR_GetOpenFileInfo64() failed"));            goto Finished;    }    fm = PR_CreateFileMap( fd, info.size, (PRFileMapProtect)prot );    if ( NULL == fm ) {        PR_LOG( _pr_shma_lm, PR_LOG_DEBUG,            ("_md_ImportFileMapFromString(): PR_CreateFileMap() failed"));        }Finished:    return(fm);} /* end _md_ImportFileMapFromString() */