Go to the first, previous, next, last section, table of contents.


readByte

Function: readByte { -> std-in-byte }
file: job.t
package: muf
status: alpha

This function accepts no parameters, and returns as an integer the next character from the standard input for the current job, @$s.standardInput.

Details: Packets with tags other than "txt" are ignored, as are non-character values.

If no input is available, the job blocks until something arrives, unless both @$s.standardInput$s.dead and @$s.readNilFromDeadStreams are non-nil, in which case nil is returned.

See section readStreamByte. See section readChar.


Go to the first, previous, next, last section, table of contents.