Word Addressable I/O

 

NAME

waclos - Closes a word addressable file
waclos2 - Closes a word addressable file and returns an error code

 

USAGE

call waclos (iun) (FORTRAN)
c_waclos(iun) (C)
ier=waclos2(iun) (FORTRAN)
ier=c_waclos(iun) (C)

 

DESCRIPTION

Closes a word addressable file.
waclos2 and c_waclos2 return an error code (zero if close successful, non-zero otherwise).
(click here for a FORTRAN example of use and here for a C example of use)

 

ARGUMENT

iun

FORTRAN unit number associated with the file to close.

 

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 WACONFIG environment variable for performance issue.

 

SEE ALSO

( waopen, waread, wawrit )