llvm-mos-sdk
chrin.h
Go to the documentation of this file.
1 #ifndef _CHRIN_H_
2 #define _CHRIN_H_
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 // Get a character from the serial console.
9 int __chrin(void);
10 
11 // Get a character from the serial console, returns -1 if none available.
12 int __chrin_no_wait(void);
13 
14 #ifdef __cplusplus
15 }
16 #endif
17 
18 #endif // not _CHRIN_H_