"Fossies" - the Fresh Open Source Software Archive

Member "openmpi-4.1.2/ompi/mca/io/romio321/romio/adio/common/ad_done_fake.c" (24 Nov 2021, 522 Bytes) of package /linux/misc/openmpi-4.1.2.tar.bz2:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "ad_done_fake.c" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 4.1.1_vs_5.0.0rc2.

    1 /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
    2 /* 
    3  *
    4  *   Copyright (C) 2004 University of Chicago. 
    5  *   See COPYRIGHT notice in top-level directory.
    6  */
    7 
    8 #include "adio.h"
    9 
   10 /* Generic implementation of ReadDone/WriteDone simply sets the
   11  * bytes field in the status structure and frees the request.
   12  *
   13  * Same function is used for both reads and writes.
   14  */
   15 int ADIOI_FAKE_IODone(ADIO_Request *request, ADIO_Status *status,
   16              int *error_code)
   17 {
   18     /* should not ever get called now */
   19     return 1;
   20 }