/*D
   MPI_Session_attach_buffer - Attaches a user-provided buffer for buffered send in the session

Synopsis:
.vb
int MPI_Session_attach_buffer(MPI_Session session, void *buffer, int size)
.ve
.vb
int MPI_Session_attach_buffer_c(MPI_Session session, void *buffer,
                                MPI_Count size)
.ve

Input Parameters:
+ session - session (handle)
. buffer - initial buffer address (choice)
- size - buffer size, in bytes (non-negative integer)

.N Fortran

.N Errors
.N MPI_SUCCESS
.N MPI_ERR_ARG
.N MPI_ERR_SESSION
.N MPI_ERR_OTHER

.seealso: MPI_Buffer_attach, MPI_Bsend
D*/

