source: mainline/uspace/dist/src/c/demos/hello/hello.c

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
RevLine 
[c0cef6f9]1typedef int errno_t;
[b7fd2a0]2extern errno_t putchar(char);
[3508000]3
4#define TERMINATOR '!'
5
[1433ecda]6int main(void)
7{
[3508000]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.