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


readChar

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

This function accepts no parameters, and returns 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 readStreamChar. See section readByte. See section unreadChar.


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