xref: /titanic_41/usr/src/lib/librt/common/llib-lrt (revision f841f6ad96ea6675d6c6b35c749eaac601799fdf)
1/*
2 * CDDL HEADER START
3 *
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.
7 *
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.
12 *
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]
18 *
19 * CDDL HEADER END
20 */
21
22/*
23 * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
24 * Use is subject to license terms.
25 */
26
27/* LINTLIBRARY */
28/* PROTOLIB1 */
29
30#pragma ident	"%Z%%M%	%I%	%E% SMI"
31
32#include <aio.h>
33#include <mqueue.h>
34#include <sched.h>
35#include <semaphore.h>
36
37/*
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.
41 */
42
43int	clock_getres(clockid_t, struct timespec *);
44int	clock_gettime(clockid_t, struct timespec *);
45int	clock_settime(clockid_t, const struct timespec *);
46int	fdatasync(int);
47int	nanosleep(const struct timespec *, struct timespec *);
48int	shm_open(const char *, int, mode_t);
49int	shm_unlink(const char *);
50int	sigwaitinfo(const sigset_t *_RESTRICT_KYWD, siginfo_t *_RESTRICT_KYWD);
51int	sigtimedwait(const sigset_t *_RESTRICT_KYWD, siginfo_t *_RESTRICT_KYWD,
52	    const struct timespec *_RESTRICT_KYWD);
53int	sigqueue(pid_t, int, const union sigval);
54int	timer_create(clockid_t, struct sigevent *_RESTRICT_KYWD,
55		timer_t *_RESTRICT_KYWD);
56int	timer_delete(timer_t);
57int	timer_getoverrun(timer_t);
58int	timer_gettime(timer_t, struct itimerspec *);
59int	timer_settime(timer_t, int, const struct itimerspec *_RESTRICT_KYWD,
60		struct itimerspec *_RESTRICT_KYWD);
61