Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
prshm.c File Reference
#include <string.h>
#include "primpl.h"

Go to the source code of this file.

Functions

PRSharedMemory_MD_OpenSharedMemory (const char *name, PRSize size, PRIntn flags, PRIntn mode)
void_MD_AttachSharedMemory (PRSharedMemory *shm, PRIntn flags)
PRStatus _MD_DetachSharedMemory (PRSharedMemory *shm, void *addr)
PRStatus _MD_CloseSharedMemory (PRSharedMemory *shm)
PRStatus _MD_DeleteSharedMemory (const char *name)
 PR_OpenSharedMemory (const char *name, PRSize size, PRIntn flags, PRIntn mode)
 PR_AttachSharedMemory (PRSharedMemory *shm, PRIntn flags)
 PR_DetachSharedMemory (PRSharedMemory *shm, void *addr)
 PR_CloseSharedMemory (PRSharedMemory *shm)
 PR_DeleteSharedMemory (const char *name)

Variables

PRLogModuleInfo_pr_shm_lm

Function Documentation

void* _MD_AttachSharedMemory ( PRSharedMemory shm,
PRIntn  flags 
)

Definition at line 65 of file prshm.c.

{
    PR_SetError(PR_NOT_IMPLEMENTED_ERROR, 0);
    return NULL;
}    

Definition at line 77 of file prshm.c.

{
    PR_SetError(PR_NOT_IMPLEMENTED_ERROR, 0);
    return PR_FAILURE;
}    

Definition at line 83 of file prshm.c.

{
    PR_SetError(PR_NOT_IMPLEMENTED_ERROR, 0);
    return PR_FAILURE;
}    

Definition at line 71 of file prshm.c.

{
    PR_SetError(PR_NOT_IMPLEMENTED_ERROR, 0);
    return PR_FAILURE;
}    
PRSharedMemory* _MD_OpenSharedMemory ( const char *  name,
PRSize  size,
PRIntn  flags,
PRIntn  mode 
)

Definition at line 59 of file prshm.c.

{
    PR_SetError(PR_NOT_IMPLEMENTED_ERROR, 0);
    return NULL;
}    
PR_AttachSharedMemory ( PRSharedMemory shm,
PRIntn  flags 
)

Definition at line 111 of file prshm.c.

{
    return( _PR_MD_ATTACH_SHARED_MEMORY( shm, flags ));
} /* end PR_AttachSharedMemory() */

Here is the caller graph for this function:

Definition at line 137 of file prshm.c.

{
    return( _PR_MD_CLOSE_SHARED_MEMORY( shm ));
} /* end PR_CloseSharedMemory() */

Here is the caller graph for this function:

PR_DeleteSharedMemory ( const char *  name)

Definition at line 149 of file prshm.c.

{
    if (!_pr_initialized) _PR_ImplicitInitialization();
    return(_PR_MD_DELETE_SHARED_MEMORY( name ));
} /* end PR_DestroySharedMemory() */

Here is the call graph for this function:

Here is the caller graph for this function:

PR_DetachSharedMemory ( PRSharedMemory shm,
void addr 
)

Definition at line 124 of file prshm.c.

{
    return( _PR_MD_DETACH_SHARED_MEMORY( shm, addr ));
} /* end PR_DetachSharedMemory() */

Here is the caller graph for this function:

PR_OpenSharedMemory ( const char *  name,
PRSize  size,
PRIntn  flags,
PRIntn  mode 
)

Definition at line 95 of file prshm.c.

{
    if (!_pr_initialized) _PR_ImplicitInitialization();
    return( _PR_MD_OPEN_SHARED_MEMORY( name, size, flags, mode ));
} /* end PR_OpenSharedMemory() */

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

Definition at line 51 of file prinit.c.