rclockd.c File Reference

clockd helper (suidroot) program to set system time More...

#include <sys/types.h>
#include <sys/socket.h>
#include <string.h>
#include <stdlib.h>
#include <limits.h>
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/time.h>
#include <time.h>
#include <ctype.h>
#include "logging.h"

Data Structures

struct  rtc_time

Functions

static int set_time (time_t t)


Detailed Description

Copyright (C) 2008 Nokia. All rights reserved.

Author:
Raimo Vuonnala <raimo.vuonnala@nokia.com>

Function Documentation

static int set_time ( time_t  t  )  [static]

See man 8 hwclock

Referenced by handle_csd_net_time_change(), and server_set_time().


Generated on Wed Jul 8 14:19:23 2009 for libtime/clockd by  doxygen 1.5.6