Blame view

input.h 321 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//
// Created by imanol on 12/27/16.
//

#ifndef SYNACORVM_INPUT_H
#define SYNACORVM_INPUT_H

#include <stdint.h>
#include <unistd.h>
#include "cpu.h"
#include <string.h>
#include <stropts.h>

unsigned int stdin_length();
void read_input();
char get_input();
unsigned int input_buffer_size();

#endif //SYNACORVM_INPUT_H