Home
last modified time | relevance | path

Searched refs:rtctime (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libvmmapi/common/
H A Dvmmapi.c2065 struct vm_rtc_time rtctime; in vm_rtc_settime() local
2068 bzero(&rtctime, sizeof(struct vm_rtc_time)); in vm_rtc_settime()
2069 rtctime.secs = secs; in vm_rtc_settime()
2070 error = ioctl(ctx->fd, VM_RTC_SETTIME, &rtctime); in vm_rtc_settime()
2077 struct vm_rtc_time rtctime; in vm_rtc_gettime() local
2080 bzero(&rtctime, sizeof(struct vm_rtc_time)); in vm_rtc_gettime()
2081 error = ioctl(ctx->fd, VM_RTC_GETTIME, &rtctime); in vm_rtc_gettime()
2083 *secs = rtctime.secs; in vm_rtc_gettime()