1 /**
2  * \file
3  * \brief  settimeofday implementation
4  *
5  * \date   08/10/2004
6  * \author Martin Pohlack  <mp26@os.inf.tu-dresden.de>
7  */
8 /*
9  * (c) 2004-2009 Author(s)
10  *     economic rights: Technische Universität Dresden (Germany)
11  * This file is part of TUD:OS and distributed under the terms of the
12  * GNU Lesser General Public License 2.1.
13  * Please see the COPYING-LGPL-2.1 file for details.
14  */
15 #include <sys/time.h>
16 #include <errno.h>
17 
18 // do nothing for now
settimeofday(const struct timeval * tv,const struct timezone * tz)19 int settimeofday(const struct timeval *tv , const struct timezone *tz)
20 {
21   (void)tv; (void)tz;
22   errno = EPERM;
23   return -1;
24 }
25