if((ret = HDsnprintf(filename, sizeof(filename), "%s%d%s", filename_prefix, word_length, little_endian ? "le" : "be")) < 0)
 
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * 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 COPYING file, which can be found at the root of the source code       *
 * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.  *
 * If you do not have access to either file, you may request a copy from     *
 * help@hdfgroup.org.                                                        *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
 * generate plist file
 */
#include "H5private.h"
#include "hdf5.h"
static int encode_plist(hid_t plist_id, int little_endian, int word_length, const char *filename_prefix);
int
main(void)
    hid_t dcpl1;            /* dataset create prop. list */
    hid_t dapl1;            /* dataset access prop. list */
    hid_t dxpl1;            /* dataset xfer prop. list */
    hid_t gcpl1;            /* group create prop. list */
    hid_t ocpypl1;          /* object copy prop. list */
    hid_t ocpl1;            /* object create prop. list */
    hid_t lcpl1;            /* link create prop. list */
    hid_t lapl1;            /* link access prop. list */
    hid_t fapl1;            /* file access prop. list */
    hid_t fcpl1;            /* file create prop. list */
    hid_t strcpl1;          /* string create prop. list */
    hid_t acpl1;            /* attribute create prop. list */
    herr_t ret = 0;
    hsize_t chunk_size = 16384; /* chunk size */ 
    int fill = 2;            /* Fill value */
    hsize_t max_size[1];        /* data space maximum size */
    size_t nslots = 521 * 2;
    size_t nbytes = 1048576 * 10;
    double w0 = 0.5f;
    unsigned max_compact;
    unsigned min_dense;
    const char* c_to_f = "x+32";
    int little_endian;
    int word_length;
    H5AC_cache_config_t my_cache_config = {