Skip to content

Commit

Permalink
team_get_config: clarify config_mask == 0 case
Browse files Browse the repository at this point in the history
  • Loading branch information
davidozog committed Jul 11, 2024
1 parent ea5ef5e commit 44cd0c0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/backmatter.tex
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,10 @@ \section{Version 1.6}
additional arguments.
\ChangelogRef{subsec:shmem_pcontrol}
%
\item Clarified the behavior of \FUNC{shmem\_team\_get\_config} when the
\VAR{config\_mask} is 0 and/or the \VAR{config} argument is a null pointer.
\ChangelogRef{subsec:shmem_team_get_config}
%
\end{itemize}

\section{Version 1.5}
Expand Down
4 changes: 4 additions & 0 deletions content/shmem_team_get_config.tex
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
If \VAR{team} compares equal to \LibConstRef{SHMEM\_TEAM\_INVALID},
then no operation is performed.
If \VAR{team} is otherwise invalid, the behavior is undefined.
If \VAR{config\_mask} is 0, then \VAR{shmem\_team\_get\_config} performs no action
and \VAR{config} may or may not be a null pointer.
If \VAR{config} is a null pointer, then \VAR{config\_mask} must be 0, otherwise
the behavior is undefined.
}

\apireturnvalues{
Expand Down

0 comments on commit 44cd0c0

Please sign in to comment.