LMMS
Loading...
Searching...
No Matches
ttyio.c File Reference
#include "zip.h"
#include "crypt.h"
#include "ttyio.h"
#include <sys/ioctl.h>
#include <sgtty.h>

Macros

#define __TTYIO_C   /* identifies this source module */
#define PUTC   putc
#define GLOBAL(g)
#define NO_FCNTL_H
#define GTTY   gtty
#define STTY   stty

Functions

char *ttyname OF ((int))
void Echoff (__G__ f) __GDEF int f
 GLOBAL (echofd)
 GTTY (f, &sg)
sg sg_flags & STTY (f, &sg)
void Echon (__G)
int zgetch (__G__ f) __GDEF int f
 echoff (f)
 read (f, &c, 1)
 if (c !='\n')
 while (c2 !='\n')
 echon ()

Macro Definition Documentation

◆ __TTYIO_C

#define __TTYIO_C   /* identifies this source module */

◆ GLOBAL

#define GLOBAL ( g)
Value:
G.g
Uz_Globs G
Definition globals.c:42

◆ GTTY

#define GTTY   gtty

◆ NO_FCNTL_H

#define NO_FCNTL_H

◆ PUTC

#define PUTC   putc

◆ STTY

#define STTY   stty

Function Documentation

◆ Echoff()

void Echoff ( __G__ f)

◆ echoff()

echoff ( f )

◆ Echon()

void Echon ( __G )

◆ echon()

echon ( )

◆ GLOBAL()

GLOBAL ( echofd )

◆ GTTY()

GTTY ( f ,
& sg )

◆ if()

if ( c ! = '\n')

◆ OF()

char *ttyname OF ( (int) )

◆ read()

read ( f ,
& c,
1  )

◆ STTY()

sg sg_flags & STTY ( f ,
& sg )

◆ while()

while ( c2 ! = '\n')

◆ zgetch()

int zgetch ( __G__ f)