/* Linux direct read() and write() system calls.  Set memory boundary, file block size,
 
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Copyright by The HDF Group.                                               *
 * Copyright by the Board of Trustees of the University of Illinois.         *
 * All rights reserved.                                                      *
 *                                                                           *
 * This file is part of HDF5.  The full HDF5 copyright notice, including     *
 * terms governing use, modification, and redistribution, is contained in    *
 * the files COPYING and Copyright.html.  COPYING can be found at the root   *
 * of the source code distribution tree; Copyright.html can be found at the  *
 * root level of an installed copy of the electronic HDF5 document set and   *
 * is linked from the top-level documents page.  It can also be found at     *
 * http://hdfgroup.org/HDF5/doc/Copyright.html.  If you do not have          *
 * access to either file, you may request a copy from help@hdfgroup.org.     *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
 * Programmer:  Robb Matzke <matzke@llnl.gov>
 *              Thursday, November 19, 1998
 *
 * Purpose: Provides support functions for most of the hdf5 tests cases.
 *
 */
#undef NDEBUG           /*override -DNDEBUG         */
#include <sys/types.h>
#include <sys/stat.h>
#include "h5test.h"
#ifdef _WIN32
#include <process.h>
#include <direct.h>
#include <winsock.h>
#endif  /* _WIN32 */
/*
 * Define these environment variables or constants to influence functions in
 * this test support library.  The environment variable is used in preference
 * to the cpp constant.  If neither is defined then use some default value.
 *
 * HDF5_DRIVER:     This string describes what low level file driver to
 *          use for HDF5 file access.  The first word in the
 *          value is the name of the driver and subsequent data
 *          is interpreted according to the driver.  See
 *          h5_fileaccess() for details.
 *
 * HDF5_PREFIX:     A string to add to the beginning of all serial test
 *          file names.  This can be used to run tests in a
 *          different file system (e.g., "/tmp" or "/tmp/myname").
 *          The prefix will be separated from the base file name
 *          by a slash. See h5_fixname() for details.
 *