![Transtech Transputer Скачать руководство пользователя страница 189](http://html1.mh-extra.com/html/transtech/transputer/transputer_user-manual_1152647189.webp)
Utilities Software
TMB M 711
Transputer Motherboard User Manual
181
11.10.3 Program Function Calls
genio(3)
NAME
genio, genio_open, genio_close, genio_read, genio_write,
genio_lseek, genio_control, - optimized file I/O library
SYNOPSIS
#include <genio.h>
int genio_open( char *name, int mode );
int genio_close( int fd );
int genio_read( int fd, char *buf, int n );
int genio_write( int fd, char *buf, int n );
int genio_lseek( int fd, long int offset, int origin );
void genio_control( int iotype, int param );
DESCRIPTION
The generic I/O library implements faster versions of the
Inmos C Toolset low level file I/O functions. Several tech-
niques are included that give optimal results on different
kinds of hardware.
This is done by allowing a larger iserver packet size (up to
4096 bytes) to be used than normal (512 bytes), or, in the
case of the TMB16 motherboard, by DMA direct to the BIOS
disk controller routines.
All operations on files opened using genio_open must be per-
formed using the genio library functions and not using the
default library functions. Similarly the genio library
functions should not be used on files opened using the nor-
mal open function.
On multi-processor systems, the server channels should be
multiplexed using hostmux.lku and not the occam procedure
so.multiplexor. This routine should also be used instead of
so.buffer.
Содержание Transputer
Страница 1: ...Transputer Motherboard User Manual Ref TMB M 711...
Страница 8: ...vi Transputer Motherboard User Manual TMB M 711...
Страница 24: ...Summary 16 Transputer Motherboard User Manual TMB M 711...
Страница 64: ...The Edge Connector 56 Transputer Motherboard User Manual TMB M 711...
Страница 80: ...Examples 72 Transputer Motherboard User Manual TMB M 711...
Страница 122: ...Programming 114 Transputer Motherboard User Manual TMB M 711...
Страница 160: ...Examples 152 Transputer Motherboard User Manual TMB M 711...
Страница 192: ...Reference Manual Pages 184 Transputer Motherboard User Manual TMB M 711...
Страница 196: ...PC Host Interface 188 Transputer Motherboard User Manual TMB M 711...