From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- sys/fio/getchar.x | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sys/fio/getchar.x (limited to 'sys/fio/getchar.x') diff --git a/sys/fio/getchar.x b/sys/fio/getchar.x new file mode 100644 index 00000000..2a2b6cd9 --- /dev/null +++ b/sys/fio/getchar.x @@ -0,0 +1,12 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +# GETCHAR -- Get a character from the standard input. + +char procedure getchar (ch) + +char ch # character (output) +char getc() + +begin + return (getc (STDIN, ch)) +end -- cgit