Skip to content

Commit 18e74b1

Browse files
authored
Merge pull request #6406 from ggouaillardet/topic/v3.0.x/man_win_attach_detach
man: fix typos in MPI_Win_{attach,detach}
2 parents 7b73aa4 + 9762f9a commit 18e74b1

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

ompi/mpi/man/man3/MPI_Win_attach.3in

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
.\" -*- nroff -*-
2-
.\" Copyright (c) 2015 Research Organization for Information Science
3-
.\" and Technology (RIST). All rights reserved.
2+
.\" Copyright (c) 2015-2019 Research Organization for Information Science
3+
.\" and Technology (RIST). All rights reserved.
4+
.\" Copyright (c) 2019 FUJITSU LIMITED. All rights reserved.
45
.\" $COPYRIGHT$
56
.TH MPI_Win_attach 3 "#OMPI_DATE#" "#PACKAGE_VERSION#" "#PACKAGE_NAME#"
67
.SH NAME
7-
\fBMPI_Win_create, MPI_Win_detach\fP \- One-sided MPI call that attach / detach a window object for RMA operations.
8+
\fBMPI_Win_attach, MPI_Win_detach\fP \- One-sided MPI call that attach / detach a window object for RMA operations.
89

910
.SH SYNTAX
1011
.ft R
1112
.SH C Syntax
1213
.nf
1314
#include <mpi.h>
14-
MPI_Win_attach(MPI_Win *\fIwin\fP, void *\fIbase\fP, MPI_Aint \fIsize\fP)
15+
MPI_Win_attach(MPI_Win \fIwin\fP, void *\fIbase\fP, MPI_Aint \fIsize\fP)
1516

16-
MPI_Win_detach(MPI_Win *\fIwin\fP, void *\fIbase\fP)
17+
MPI_Win_detach(MPI_Win \fIwin\fP, void *\fIbase\fP)
1718
.fi
1819
.SH Fortran Syntax
1920
.nf
@@ -62,7 +63,7 @@ Fortran only: Error status (integer).
6263
.ft R
6364
MPI_Win_attach is a one-sided MPI communication collective call executed by all processes in the group of \fIcomm\fP. It returns a window object that can be used by these processes to perform RMA operations. Each process specifies a window of existing memory that it exposes to RMA accesses by the processes in the group of \fIcomm\fP. The window consists of \fIsize\fP bytes, starting at address \fIbase\fP. A process may elect to expose no memory by specifying \fIsize\fP = 0.
6465
.sp
65-
If the \fIbase\fP value used by MPI_Win_create was allocated by MPI_Alloc_mem, the size of the window can be no larger than the value set by the MPI_ALLOC_MEM function.
66+
If the \fIbase\fP value used by MPI_Win_attach was allocated by MPI_Alloc_mem, the size of the window can be no larger than the value set by the MPI_ALLOC_MEM function.
6667
.sp
6768

6869
.SH NOTES
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.so man3/MPI_Win_attach
1+
.so man3/MPI_Win_attach.3

0 commit comments

Comments
 (0)