now = GetTickCount();
void term_blink(int flg) {static long last_blink = 0;    long now, blink_diff;    if (flg) {        blinker = 1;        last_blink = GetTickCount();	return;    }     now = GetTickCount();    blink_diff = now-last_blink;    /* Make sure the cursor blinks no more than 2Hz */    if (blink_diff>=0 && blink_diff<450)       return;     last_blink = now;    blinker = !blinker;}