tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] Why memcpy is imported ?


From: Carlos Montiers
Subject: [Tinycc-devel] Why memcpy is imported ?
Date: Fri, 21 Feb 2014 04:06:12 -0300

Hello. I have this next code:
 
#include <windows.h>

void _start(void)
{
    COORD coord;
    HANDLE hOut;
 
    coord.X = 0;
    coord.Y = 0;
    hOut = GetStdHandle(STD_OUTPUT_HANDLE);
 
    SetConsoleCursorPosition(hOut, coord);
 
    exit(0);
}
 
with calling to SetConsoleCursorPosition a import for memcpy of msvcrt.dll is created, without SetConsoleCursorPosition the memcpy import is not there.
 
Why memcpy is imported if I not use it in the code?
 
Carlos

reply via email to

[Prev in Thread] Current Thread [Next in Thread]