2 * Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
9 #include "native_client/src/untrusted/nacl/nacl_irt.h"
11 int clock_getres(clockid_t clock_id, struct timespec *res) {
12 if (!__libnacl_irt_init_fn(&__libnacl_irt_clock.clock_getres,
13 __libnacl_irt_clock_init)) {
17 int error = __libnacl_irt_clock.clock_getres(clock_id, res);