/usr/samples/libmio/README from AIX 6 Product
/* @(#)51 1.3 src/bos/usr/ccs/lib/libmio/samples/README, libmio,
bos610 1/3/06 08:38:56 */
# This is an automatically generated prolog.
# bos610 src/bos/usr/ccs/lib/libmio/samples/README 1.3
# Licensed Materials - Property of IBM
# COPYRIGHT International Business Machines Corp. 2005,2006
# All Rights Reserved
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
The example.csh in this directory compiles and runs
the example program using the libmio.
As written, example.c is an I/O simple application.
It issues 100 writes of 16KB, seeks to the
beginning of the file, issues 100 reads of 16KB, and then
seeks backward through the file reading 16KB records.
At the end the file is truncated to 0 bytes in length.
The argument to example is the file to be created and
written to and read forwards and backwrads.
The script example.csh set the MIOlib environment variables,
compiles example.c , links with libmio.a and runs the example.
It creates a file file.dat and the MIOlib output statistics are
generated in example.stats by the MIOlib trace module.
Rate this page: