CS318 - Pintos
Pintos source browser for JHU CS318 course
src
devices
input.h
Go to the documentation of this file.
1
#ifndef DEVICES_INPUT_H
2
#define DEVICES_INPUT_H
3
4
#include <
stdbool.h
>
5
#include <
stdint.h
>
6
7
void
input_init
(
void
);
8
void
input_putc
(
uint8_t
);
9
uint8_t
input_getc
(
void
);
10
bool
input_full
(
void
);
11
12
#endif
/**< devices/input.h */
uint8_t
unsigned char uint8_t
Definition:
stdint.h:20
stdbool.h
input_getc
uint8_t input_getc(void)
Retrieves a key from the input buffer.
Definition:
input.c:31
input_init
void input_init(void)
Initializes the input buffer.
Definition:
input.c:11
stdint.h
input_full
bool input_full(void)
devices/input.h
Definition:
input.c:48
input_putc
void input_putc(uint8_t)
Adds a key to the input buffer.
Definition:
input.c:19
Generated on Thu Aug 22 2019 10:19:15 for CS318 - Pintos by
1.8.16