2 * See the file LICENSE for redistribution information.
4 * Copyright (c) 2006-2009 Oracle. All rights reserved.
15 * Return the current time-of-day clock in seconds and nanoseconds.
18 __os_gettime(env, tp, monotonic)
24 * Berkeley DB uses POSIX time values internally; convert a BREW time
25 * value into a POSIX time value.
29 (time_t)GETTIMESECONDS() + BREW_EPOCH_OFFSET;
31 (time_t)GETUTCSECONDS() + BREW_EPOCH_OFFSET;