cdl-input(3)

NAME
cdl-input - CDL3 runtime system, input routines.

SYNOPSYS
PRED read line (TEXT>),
PRED read line (>FILE,TEXT>),
PRED read char (>FILE,TEXT>),
PRED read char (TEXT>)
PRED read char (>FILE,INT>),
PRED read char (INT>)

DESCRIPTION

  PRED read line (TEXT>)
Reads a line from standard input. End of line is handled similar to fgets(3). On success the input is stored into TEXT.

  PRED read line (>FILE,TEXT>)
Reads a line from FILE. End of line is handled similar to fgets(3). On success the input is stored into TEXT.

  PRED read char (>FILE,TEXT>)
Reads a character from FILE. End of line is handled similar to fgetc(3). On success the input is stored into TEXT.

  PRED read char (TEXT>)
Reads a character from standard input. End of line is handled similar to fgetc(3). On success the input is stored into TEXT.

  PRED read char (>FILE,INT>)
Reads a character from FILE. End of line is handled similar to fgetc(3). On success the input is stored into INT.

  PRED read char (INT>)
Reads a character from standard input. End of line is handled similar to fgetc(3). On success the input is stored into INT.

FILES
All run time system calls are defined in predef.k3 which was configured to be installed in /usr/pkg/share/cdl3/include in your installation.

SEE ALSO
cdlc(1), cdlrts(3), cdl-io(3), cdl-output(3), cdl-debug(3), cdl-integer(3), cdl-string(3), cdl-converting(3), cdl-system(3)

COPYING
Copyright (C) 2000 C.H.A. Koster
CDL3 is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
CDL3 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this version of CDL; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA