membarrier.2: Clarify return value for MEMBARRIER_CMD_QUERY

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-12-15 16:11:06 +01:00
parent 7e6241dc67
commit 9eb5be29b8
1 changed files with 5 additions and 1 deletions

View File

@ -126,7 +126,11 @@ The pair ordering is detailed as (O: ordered, X: not ordered):
sys_membarrier() O O O
.SH RETURN VALUE
On success, this system call returns zero.
On success, the
.B MEMBARRIER_CMD_QUERY
operation returns a bit mask of supported commands and the
.B MEMBARRIER_CMD_SHARED
operation returns zero.
On error, \-1 is returned,
and
.I errno