- add third_party src.
[platform/framework/web/crosswalk.git] / src / native_client / src / untrusted / nacl / stubs / settimeofday.c
1 /*
2  * Copyright 2010 The Native Client Authors. All rights reserved.
3  * Use of this source code is governed by a BSD-style license that can
4  * be found in the LICENSE file.
5  */
6
7
8 /*
9  * Stub routine for `settimeofday' for porting support.
10  */
11
12 #include <sys/time.h>
13 #include <time.h>
14 #include <unistd.h>
15 #include <errno.h>
16
17 int settimeofday(const struct timeval *tv, const struct timezone *tz) {
18   errno = ENOSYS;
19   return -1;
20 }