Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ (3) — Plan9 1st Edition

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dk(3)

DATAKIT(3)

NAME

incon, hsvme, hs386 − Datakit interface

SYNOPSIS

­bind -a #i /dev
­bind -a #h /dev
 ­#i/data
­#i/ctl
­#h/data
­#h/ctl

DESCRIPTION

The Datakit interface is a stream directory containing a data and a control file.  Each write to the data file is a structured message.  The first two bytes of the message are a 9-bit virtual circuit number, low order byte first.  The third byte is a control byte.  The rest are data bytes.  The data bytes are sent onto the Datakit virtual circuit, tagged as data, followed by the control byte, tagged as control. 

Messages coming from Datakit are read from the data file in the same format.  A read terminates at the end of a message.  The largest possible received message is 1024 + 3 bytes. 

SEE ALSO

dk(3)

SOURCE

­/sys/src/9/∗/devhs.c
­/sys/src/9/∗/devincon.c

Plan 9  —  April 04, 1995

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026