Hall-D Software
alpha
|
Go to the source code of this file.
Macros | |
#define | TAPEIO_OK 0 |
#define | TAPEIO_ERROR (-1) |
#define | TAPEIO_EOT (-2) /* end of data (End Of Tape) */ |
#define | TAPEIO_STREAM 1 /* file descriptor is not a tape device */ |
#define | TAPEIO_FIXED 2 /* it's a tape device in fixed block mode */ |
#define | TAPEIO_VARIABLE 3 /* it's a tape device in variable block mode */ |
#define | TAPEIO_PIPE 4 /* pipe or TCP socket */ |
Functions | |
int | tape_devType (int fd) |
int | tape_write (int fd, const void *buffer, int len) |
int | tape_read (int fd, void *buffer, int len) |
int | tape_flush (int fd) |
int | tape_writeFM (int fd) |
int | tape_getBlockSize (int fd, unsigned long *minSize, unsigned long *maxSize, unsigned long *recSize) |
int | tape_getState (int fd) |
unsigned long | tape_getPosition (int fd) |
int | tape_setBlockSize (int fd, unsigned long newBlockSize) |
int | tape_rewind (int fd) |
int | tape_unload (int fd) |
int | tape_findFM (int fd, int count) |
Variables | |
int | tape_enablePipeIO |
#define TAPEIO_FIXED 2 /* it's a tape device in fixed block mode */ |
#define TAPEIO_STREAM 1 /* file descriptor is not a tape device */ |
#define TAPEIO_VARIABLE 3 /* it's a tape device in variable block mode */ |
int tape_devType | ( | int | fd | ) |
int tape_findFM | ( | int | fd, |
int | count | ||
) |
int tape_flush | ( | int | fd | ) |
int tape_getBlockSize | ( | int | fd, |
unsigned long * | minSize, | ||
unsigned long * | maxSize, | ||
unsigned long * | recSize | ||
) |
unsigned long tape_getPosition | ( | int | fd | ) |
int tape_getState | ( | int | fd | ) |
int tape_read | ( | int | fd, |
void * | buffer, | ||
int | len | ||
) |
int tape_rewind | ( | int | fd | ) |
int tape_setBlockSize | ( | int | fd, |
unsigned long | newBlockSize | ||
) |
int tape_unload | ( | int | fd | ) |
int tape_write | ( | int | fd, |
const void * | buffer, | ||
int | len | ||
) |
int tape_writeFM | ( | int | fd | ) |
int tape_enablePipeIO |