35 #define TF_FAPID_SFF_NEW_CC_VERSION \ 36 "TF_FAPID_SFF_NEW_CC V1.1" 43 #include <sys/types.h> 78 int status=lstat(name.c_str(), &buf);
81 int status=
remove(name.c_str());
82 if (status==0) { *ierr=0; }
else { *ierr=1; }
This is the interface usually expected by Fortran programs linking to libsff.a (prototypes) ...
long int integer
Fortran integer type.
exceptions and error handling macros (prototypes)
int sff_new__(integer *lu, char *filename, integer *ierr, ftnlen filename_len)
Delete existing file.
long int ftnlen
Fortran string size type.
std::string stringfromfstring(char *fstring, ftnlen slen)
create a C++ string from a Fortran string
some helper functions (prototypes)