File: FILINE.c

package info (click to toggle)
qepcad 1.74%2Bds-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,848 kB
  • sloc: ansic: 27,242; cpp: 2,995; makefile: 1,287; perl: 91
file content (20 lines) | stat: -rw-r--r-- 473 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*======================================================================
                      FILINE()

Flush the input stream line.
======================================================================*/
#include "qepcad.h"

void FILINE()
{
       Word C,e;
       /* hide C,e; */

Step1: /* Read up to the next newline character. */
       e = setECHO(0);
       do C = CREAD(); while (C != '\n');
       setECHO(e);

Return: /* Prepare for return. */
       return;
}