CPP > Linux > ftime

Redjini WiKi
< cpp‎ | linux‎ | time
Acepro (토론 | 기여)님의 2017년 3월 3일 (금) 14:26 판
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)


1970년 1월 1일 부터 현재 까지 시간 구하기

사용법
#include <sys/timeb.h>

void ftime(struct timeb *buf);

struct timeb {
    long time;        // 초
    short millitm;    // milliseconds
    short timezone;   // 시차(minutes)
    short dstflag;    // DST 보정
}
참고