Word Addressable I/O

 

NAME

waopen - Opens a word addressable file
waopen2 - Same thing as waopen but returns error code.

 

USAGE

call waopen (iun) (FORTRAN)
c_waopen(iun) (C)
ier=waopen2(iun) (FORTRAN)
ier=c_waopen2(iun) (C)

 

DESCRIPTION

Opens a word addressable file.
On byte addressable machines, WA software routines store the information in a "most significant byte first" fashion.
waopen2 and c_waopen2 return a file descriptor if the file is correctly opened, otherwise they return a negative integer.
(click here for a FORTRAN example of use and here for a C example of use)

 

ARGUMENT

iun

FORTRAN unit number.

 

AUTHOR

Mario Lépine - RPN

 

NOTES

Warning: Do not mix different I/O access to the same file (ex: writda, wawrit).
Buffering configuration can be controlled via the WA_CONFIG environment variable for performance issue.

 

SEE ALSO

( waclos, waread, wawrit )