History log of /fuchsia/zircon/system/uapp/clock/clock.c
Revision Date Author Comments
# cad82516 19-Jun-2018 Carl Norum <cjn@google.com>

[rtc] make clock app more device-name agnostic

Test: ran with a few different combinations of arguments
Change-Id: I559a22206764c29087efbf349f02005d9f82ca92


# 5645dc99 01-Jun-2018 Carl Norum <cjn@google.com>

[dev][rtc] basic implementation for VIM RTC

- ZX-1985

Test: 'clock' utility works as expected
Change-Id: I1646342bf8052ed275303a99affd07e0fde8ffcb


# 6643040a 21-Mar-2018 Benjamin Lerman <qsr@chromium.org>

[rtc] Update path to the rtc device.

The rtc device moved to the acpi bus.

Change-Id: I7fb65c8b863d3f58e7741d171253c62aea1c02b2


# f3e2126c 12-Sep-2017 Roland McGrath <mcgrathr@google.com>

[zx] Magenta -> Zircon

The Great Renaming is here!

Change-Id: I3229bdeb2a3d0e40fb4db6fec8ca7d971fbffb94


# 471ce58f 02-Dec-2016 Roland McGrath <mcgrathr@google.com>

[uapp][clock] Fix Clang warning for initializer syntax

We've gone to {} for "default initializer" throughout the code base.
It's not standard C, but it's better than the alternatives.

Change-Id: I3c4895a65804de65116ca1b32b4b427e02896625


# 0be7e71a 23-Nov-2016 George Kulakowski <kulakowski@google.com>

[uapp][clock] Correct the return value from ioctl

This ioctl returns the ssize_t-style positive bytes written or
negative error code.

Change-Id: I20b0a83f9cf18f5d8d79a3664fe249873df6d184


# b5fba5fa 19-Nov-2016 Abdulla Kamar <abdulla@google.com>

[udev][intel-rtc] Add support for setting the real-time clock.

Allow set and get of real-time clock via ioctls on /dev/misc/rtc. Also update
the clock app to provide a utility to set the clock.

MG-373 #done

Change-Id: I5a5c161048eb3c0410d7b383039e9da9ce793295


# 090b8525 14-Oct-2016 Mark Seaborn <mseaborn@google.com>

[system][uapp] Fix clock app to use the correct device filename, /dev/misc/rtc

'rtc' is one of the devices that got moved into /dev/misc.

MG-328 #done

Change-Id: Ife02a26a0e2d9c3b9ae3c953270e6eafdf01e8f2


# 43a5cd1d 26-Aug-2016 Todd Eisenberger <teisenbe@google.com>

[time] Update some code to use new time convenience macros

Change-Id: I6289116690e46948c0f2d39e68939331173335d7


# 66a201f1 16-Aug-2016 Brian Swetland <swetland@frotz.net>

[system] align license and license banners with Fuchsia

This adjusts the Magenta userspace code to match the prevailing
license in Fuchsia (three-clause BSD), using the same banner
and license text.

Change-Id: I6b6d79435c5dbaa32027888874849e4f47aaa7be


# f736913d 18-Jul-2016 Carlos Pizano <cpu@google.com>

[system][uapp] clock app

Simple clock, shows the rtc time at coordinates 1, 50
best launched with '&'

This app is mostly for testing long lived processes that
touch at least one device.

Change-Id: I759cb51683774fe3d155087aa428dd189afa46e6