if((H5Sselect_hyperslab(sid, H5S_SELECT_SET, start, stride, count, block)) < 0)
 
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Copyright by The HDF Group.                                               *
 * 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.     *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "hdf5.h"
/*
 * Basic tests of dataset (H5F) API routines, to verify that API compatibility
 *      is working in the 1.8+ versions of the library
 */
/* 3-D dataset with fixed dimensions */
#define SPACE1_RANK    3
#define SPACE1_DIM1    3
#define SPACE1_DIM2    15
#define SPACE1_DIM3    13
int
main(int argc, const char *argv[])
    hid_t   fid;        /* HDF5 File ID         */
    /* Shut compiler up */
    argc = argc;
    argv = argv;
    /* H5Sencode introduced after v 1.6 */
#if H5_VERS_MINOR > 6
    H5F_libver_t     low = H5F_LIBVER_EARLIEST;
    H5F_libver_t     high = H5F_LIBVER_LATEST;
    hid_t            sid;                 /* Dataspace ID */
    int              rank;                /* Logical rank of dataspace */
    hid_t            fapl = -1;           /* File access property list ID */
    hsize_t          dims1[] = {SPACE1_DIM1, SPACE1_DIM2, SPACE1_DIM3};
    size_t           sbuf_size=0, 
                     null_size=0, 
                     scalar_size=0;
    unsigned char   *sbuf=NULL, 
                    *null_sbuf=NULL,