/* For msglog() */
#include <hadesstd.h>
#include <errno.h>
-#include <error.h>
/* For fdopen(), fclose(), sscanf(), printf() */
#include <stdio.h>
#include "tape.h"
FILE *openTape(const char* filename) {
+#ifdef MTIOCTOP
int tape;
int fileSeqNum;
int stat;
setvbuf(outFile, 0, _IOFBF, BLOCKSIZE);
return outFile;
+#else
+ return NULL;
+#endif
}
int closeTape(FILE *openTape, unsigned long numBytes, const char *filename) {
+#ifdef MTIOCTOP
int stat;
int tape;
tape = fileno(openTape);
}
return 0;
+#else
+ return -1;
+#endif
}