\hypertarget{shmem__posix__common__utils_8h}{\section{opal/mca/shmem/posix/shmem\+\_\+posix\+\_\+common\+\_\+utils.h File Reference}
\label{shmem__posix__common__utils_8h}\index{opal/mca/shmem/posix/shmem\+\_\+posix\+\_\+common\+\_\+utils.\+h@{opal/mca/shmem/posix/shmem\+\_\+posix\+\_\+common\+\_\+utils.\+h}}
}


shmem (shared memory backing facility) framework utilities  


{\ttfamily \#include \char`\"{}opal\+\_\+config.\+h\char`\"{}}\\*
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
B\+E\+G\+I\+N\+\_\+\+C\+\_\+\+D\+E\+C\+L\+S O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int \hyperlink{shmem__posix__common__utils_8h_a236104e0566a1a48bb99db6dc5ed61b3}{shmem\+\_\+posix\+\_\+shm\+\_\+open} (char $\ast$posix\+\_\+file\+\_\+name\+\_\+buff, size\+\_\+t size)
\begin{DoxyCompactList}\small\item\em this routine searches for an available shm\+\_\+open file name. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
shmem (shared memory backing facility) framework utilities 



\subsection{Function Documentation}
\hypertarget{shmem__posix__common__utils_8h_a236104e0566a1a48bb99db6dc5ed61b3}{\index{shmem\+\_\+posix\+\_\+common\+\_\+utils.\+h@{shmem\+\_\+posix\+\_\+common\+\_\+utils.\+h}!shmem\+\_\+posix\+\_\+shm\+\_\+open@{shmem\+\_\+posix\+\_\+shm\+\_\+open}}
\index{shmem\+\_\+posix\+\_\+shm\+\_\+open@{shmem\+\_\+posix\+\_\+shm\+\_\+open}!shmem\+\_\+posix\+\_\+common\+\_\+utils.\+h@{shmem\+\_\+posix\+\_\+common\+\_\+utils.\+h}}
\subsubsection[{shmem\+\_\+posix\+\_\+shm\+\_\+open}]{\setlength{\rightskip}{0pt plus 5cm}B\+E\+G\+I\+N\+\_\+\+C\+\_\+\+D\+E\+C\+L\+S O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int shmem\+\_\+posix\+\_\+shm\+\_\+open (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{posix\+\_\+file\+\_\+name\+\_\+buff, }
\item[{size\+\_\+t}]{size}
\end{DoxyParamCaption}
)}}\label{shmem__posix__common__utils_8h_a236104e0566a1a48bb99db6dc5ed61b3}


this routine searches for an available shm\+\_\+open file name. 

\begin{DoxyReturn}{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. 
\end{DoxyReturn}


References opal\+\_\+output(), and opal\+\_\+output\+\_\+verbose().

