Last change
on this file was c0cef6f9, checked in by Vojtech Horky <vojtech.horky@…>, 7 years ago |
src/demos: errno_t typedef missing
|
-
Property mode
set to
100644
|
File size:
265 bytes
|
Line | |
---|
1 | typedef int errno_t;
|
---|
2 | extern errno_t putchar(char);
|
---|
3 |
|
---|
4 | #define TERMINATOR '!'
|
---|
5 |
|
---|
6 | int main(void)
|
---|
7 | {
|
---|
8 | /* Prints "hello" to the standard output. */
|
---|
9 | putchar('h');
|
---|
10 | putchar('e');
|
---|
11 | putchar('l');
|
---|
12 | putchar('l');
|
---|
13 | putchar('o');
|
---|
14 | putchar(TERMINATOR);
|
---|
15 | putchar('\n');
|
---|
16 | return 0;
|
---|
17 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.