PKUOS - Pintos
Pintos source browser for PKU Operating System course
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
7void input_init (void);
10bool input_full (void);
11
12#endif /**< devices/input.h */
void input_init(void)
Initializes the input buffer.
Definition: input.c:11
uint8_t input_getc(void)
Retrieves a key from the input buffer.
Definition: input.c:31
void input_putc(uint8_t)
Adds a key to the input buffer.
Definition: input.c:19
bool input_full(void)
devices/input.h
Definition: input.c:48
unsigned char uint8_t
Definition: stdint.h:20