/*D
   MPI_Session_detach_buffer - Removes an existing buffer (for use in MPI_Bsend etc) in the session

Synopsis:
.vb
int MPI_Session_detach_buffer(MPI_Session session, void *buffer_addr,
                              int *size)
.ve
.vb
int MPI_Session_detach_buffer_c(MPI_Session session, void *buffer_addr,
                                MPI_Count *size)
.ve

Input Parameters:
. session - session (handle)

Output Parameters:
+ buffer_addr - initial buffer address (choice)
- size - buffer size, in bytes (integer)

.N Fortran

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

.seealso: MPI_Session_attach_buffer, MPI_Bsend
D*/

