Files
open-simh.simtools/extracters/rstsflx/borabsio.c
Paul Koning bf7c17ab4a Add RSTSFLX V2.6. This is a file system access utility for RSTS
file systems.  It supports reading and writing as well as a number
of other operations, such as octal dump, file system initialize,
and file system check ("clean").

This was originally maintained as a Subversion repository at
svn://akdesign.dyndns.org/flx/branches/V2.6.
as suggested by Timothe Litt on the SIMH mailing list.
2016-04-27 15:00:42 -04:00

43 lines
983 B
C

/* absread and abswrite services for use with Borland C implementation
*
* Paul Koning 95.01.17 Dummy module (no absio in TC++ for Windows)
*/
#include <string.h>
#include <stdio.h>
#include "flx.h"
#include "absio.h"
/* this routine is called to scan a supplied container file/device
* name. If the name refers to a real disk, then absflag is set
* and rsize is set to the device size. Otherwise, no action is taken.
*/
void absname (const char *rname)
{
if (rname[strlen(rname) - 1] == ':') { /* device name alone */
printf ("Absolute I/O not supported\n");
}
}
int absopen (const char *rname, const char *mode)
{
return (1); /* should never get here... */
}
void absseek (long block) { } /* nothing to do */
void absclose () { } /* nothing to do */
long absread (long sec, long count, void *buffer)
{
return (0); /* should never get here... */
}
long abswrite (long sec, long count, void *buffer)
{
return (0); /* should never get here... */
}