4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
30 #pragma ident "%Z%%M% %I% %E% SMI"
35 #include <semaphore.h>
38 * NOTE: We list the following interfaces explicitly because the header
39 * files that they're part of include *lots* of other interfaces
40 * that are not part of librt.
43 int clock_getres(clockid_t, struct timespec *);
44 int clock_gettime(clockid_t, struct timespec *);
45 int clock_settime(clockid_t, const struct timespec *);
47 int nanosleep(const struct timespec *, struct timespec *);
48 int shm_open(const char *, int, mode_t);
49 int shm_unlink(const char *);
50 int sigwaitinfo(const sigset_t *_RESTRICT_KYWD, siginfo_t *_RESTRICT_KYWD);
51 int sigtimedwait(const sigset_t *_RESTRICT_KYWD, siginfo_t *_RESTRICT_KYWD,
52 const struct timespec *_RESTRICT_KYWD);
53 int sigqueue(pid_t, int, const union sigval);
54 int timer_create(clockid_t, struct sigevent *_RESTRICT_KYWD,
55 timer_t *_RESTRICT_KYWD);
56 int timer_delete(timer_t);
57 int timer_getoverrun(timer_t);
58 int timer_gettime(timer_t, struct itimerspec *);
59 int timer_settime(timer_t, int, const struct itimerspec *_RESTRICT_KYWD,
60 struct itimerspec *_RESTRICT_KYWD);