Skip to content

Instantly share code, notes, and snippets.

@irontigran
irontigran / myio.c
Last active November 30, 2017 00:55
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include "mystdlib.h"
#define MAXLINELEN 1000
/* modified according to the assumption that there will never be more than one character of pushback */
/* #define BUFSIZE 100 */
/* char buf[BUFSIZE]; /* the shared buffer between getch and ungetch */