Skip to main content

/usr/samples/libmio/README from AIX 6 Product


  Readme

/* @(#)51       1.3     src/bos/usr/ccs/lib/libmio/samples/README, libmio,
bos610 1/3/06 08:38:56 */
# IBM_PROLOG_BEGIN_TAG
# 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.
#
# IBM_PROLOG_END_TAG

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:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

AIX family


Software version:
610


Operating system(s):
AIX


Reference #:
610readme76fc7a1fles
_libmio


Modified date:
2008-05-01

Translate my page

Content navigation