OpenMPI  0.1.1
shmem_posix_common_utils.h File Reference

shmem (shared memory backing facility) framework utilities More...

#include "opal_config.h"

Go to the source code of this file.

Functions

BEGIN_C_DECLS OPAL_DECLSPEC int shmem_posix_shm_open (char *posix_file_name_buff, size_t size)
 this routine searches for an available shm_open file name. More...
 

Detailed Description

shmem (shared memory backing facility) framework utilities

Function Documentation

BEGIN_C_DECLS OPAL_DECLSPEC int shmem_posix_shm_open ( char *  posix_file_name_buff,
size_t  size 
)

this routine searches for an available shm_open file name.

Returns
if successful, a non-negative file descriptor is returned and posix_file_name_buff will contain the file name associated with the successful shm_open. otherwise, -1 is returned and the contents of posix_file_name_buff are undefined.

References opal_output(), and opal_output_verbose().