Edit samples

git-svn-id: svn://kolibrios.org@8109 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
maxcodehack
2020-10-18 11:18:51 +00:00
parent 8ce9d8845f
commit 1c69f15cea
2 changed files with 7 additions and 6 deletions

View File

@@ -1,8 +1,9 @@
#include <kos/console.h>
#include <conio.h>
#include <kos/http.h>
#include <kos/inputbox.h>
int main() {
if (con_init_console_dll()) return 1; // init fail
con_write_asciiz("Wait, I'll ask you... when I'll done to fetch one site...\n");
con_set_title("Dynamicaly linked app");
http_msg *h = get("http://example.com", 0, HTTP_FLAG_BLOCK, "");