📄 mpid_err_get_string.tex
字号:
\startmanpage\mantitle{MPID{\tt \char`\_}Err{\tt \char`\_}get{\tt \char`\_}string}{tex}{10/7/2002}\manname{MPID{\tt \char`\_}Err{\tt \char`\_}get{\tt \char`\_}string}--- Get the message string that corresponds to an error class or code \subhead{Synopsis}\startvb\begin{verbatim}int MPID_Err_get_string( int code, char *msg, int msg_len )\end{verbatim}\endvb\subhead{Input Parameter}\startarg{code }{An error class or code. If a code, it must have been created by {\tt MPID{\tt \char`\_}Err{\tt \char`\_}create{\tt \char`\_}code}.}\startarg{msg{\tt \char`\_}len }{Length of {\tt msg}.}\par\subhead{Output Parameter}\startarg{msg }{A null-terminated text string of length (including the null) of nomore than {\tt msg{\tt \char`\_}len}. }\par\subhead{Return value}Zero on success. Non-zero returns indicate either (a) {\tt msg{\tt \char`\_}len} is toosmall for the message or (b) the value of {\tt code} is neither a validerror class or code.\par\subhead{Notes}This routine is used to implement {\tt MPI{\tt \char`\_}ERROR{\tt \char`\_}STRING}.\par\subhead{Module}Error\par\subhead{Question}What values should be used for the error returns? Should they bevalid error codes?\parHow do we get a good value for {\tt MPI{\tt \char`\_}MAX{\tt \char`\_}ERROR{\tt \char`\_}STRING} for {\tt mpi.h}?See {\tt errgetmsg} for one idea.\par\endmanpage
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -