---
name: "aica_rtc_gettimeofday"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/aica_rtc_gettimeofday"
---

# aica\_rtc\_gettimeofday(9)

Get the time from the AICA RTC

## NAME

aica\_rtc\_gettimeofday - Get the time from the AICA RTC

## SYNOPSIS

**void aica\_rtc\_gettimeofday(struct timespec \*** *ts***);**

## ARGUMENTS

*ts*

pointer to resulting timespec

## DESCRIPTION

Grabs the current RTC seconds counter and adjusts it to the Unix Epoch.

## AUTHOR

**Paul Mundt** \<lethal@linux-sh.org\>

Author.

## COPYRIGHT
