mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-21 22:33:48 +03:00
5674a7aa14
git-svn-id: svn://kolibrios.org@6685 a494cfbc-eb01-0410-851d-a64ba20cac60
19 lines
326 B
C
19 lines
326 B
C
/*
|
|
* Console example in C--
|
|
*/
|
|
|
|
#define MEMSIZE 4096*10
|
|
|
|
#include "../lib/obj/console.h"
|
|
|
|
void main()
|
|
{
|
|
load_dll(libConsole, #con_init, 0);
|
|
con_init stdcall (-1, -1, -1, -1, "Hello");
|
|
con_set_flags stdcall (0x1F);
|
|
con_write_string stdcall ("Console test", 12);
|
|
con_exit stdcall (0);
|
|
ExitProcess();
|
|
}
|
|
|