From 44cd0c0580fdf6b7efbafd8e8c2a6c5389f700d4 Mon Sep 17 00:00:00 2001 From: David Ozog Date: Thu, 11 Jul 2024 15:02:40 -0400 Subject: [PATCH] team_get_config: clarify config_mask == 0 case --- content/backmatter.tex | 4 ++++ content/shmem_team_get_config.tex | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/content/backmatter.tex b/content/backmatter.tex index 7e6f4a7dd..245f1b51c 100644 --- a/content/backmatter.tex +++ b/content/backmatter.tex @@ -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} diff --git a/content/shmem_team_get_config.tex b/content/shmem_team_get_config.tex index 6ee9d9ec6..28fce3ba1 100644 --- a/content/shmem_team_get_config.tex +++ b/content/shmem_team_get_config.tex @@ -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{