blob: dcad76eadfdb4b112b303a80b79ab445a1ad4729 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef IO_H
#define IO_H
#include <stdint.h>
// putchar() and getchar() are not part of io.c, but it's useful to
// have those symbols declared here
void putchar(char c);
char getchar(void);
void puts(char string[]);
void prints(char string[]);
void error(char string[]);
void printdec(uint32_t number);
void printhex(uint32_t number);
void printbin(uint32_t number);
void printdect(uint32_t number);
void printhext(uint32_t number);
#endif // IO_H
|