Fortran SFF API to data I/O streams in C++
fapid_sff_close.cc File Reference

mimic Fortran subroutine sff_close (implementation) More...

#include <fapidxx/fapidsff.h>
#include <fapidxx/fileunit.h>
Include dependency graph for fapid_sff_close.cc:

Go to the source code of this file.

Macros

#define TF_FAPID_SFF_CLOSE_CC_VERSION   "TF_FAPID_SFF_CLOSE_CC V1.2"
 

Functions

int sff_close__ (integer *lu, integer *ierr)
 Close SFF file. More...
 

Detailed Description

mimic Fortran subroutine sff_close (implementation)


Author
Thomas Forbriger
Date
18/11/2010

mimic Fortran subroutine sff_close (implementation)

Copyright (c) 2010 by Thomas Forbriger (BFO Schiltach)


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software

Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

REVISIONS and CHANGES

  • 18/11/2010 V1.0 Thomas Forbriger
  • 23.12.2010 V1.1 close input and output streams
  • 30/09/2011 V1.2 no error must be returned if no file for this file unit is open, since all reading and writing functions automatically close the file upon the last trace is processed

Definition in file fapid_sff_close.cc.