xref: /onnv-gate/usr/src/lib/librt/common/llib-lrt (revision 2248:4609e8bb25ad)
10Sstevel@tonic-gate/*
20Sstevel@tonic-gate * CDDL HEADER START
30Sstevel@tonic-gate *
40Sstevel@tonic-gate * The contents of this file are subject to the terms of the
5*2248Sraf * Common Development and Distribution License (the "License").
6*2248Sraf * You may not use this file except in compliance with the License.
70Sstevel@tonic-gate *
80Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing.
100Sstevel@tonic-gate * See the License for the specific language governing permissions
110Sstevel@tonic-gate * and limitations under the License.
120Sstevel@tonic-gate *
130Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each
140Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
150Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the
160Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying
170Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner]
180Sstevel@tonic-gate *
190Sstevel@tonic-gate * CDDL HEADER END
200Sstevel@tonic-gate */
21*2248Sraf
220Sstevel@tonic-gate/*
23*2248Sraf * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
240Sstevel@tonic-gate * Use is subject to license terms.
250Sstevel@tonic-gate */
260Sstevel@tonic-gate
270Sstevel@tonic-gate/* LINTLIBRARY */
280Sstevel@tonic-gate/* PROTOLIB1 */
290Sstevel@tonic-gate
300Sstevel@tonic-gate#pragma ident	"%Z%%M%	%I%	%E% SMI"
310Sstevel@tonic-gate
320Sstevel@tonic-gate#include <aio.h>
330Sstevel@tonic-gate#include <mqueue.h>
340Sstevel@tonic-gate#include <sched.h>
350Sstevel@tonic-gate#include <semaphore.h>
360Sstevel@tonic-gate
370Sstevel@tonic-gate/*
380Sstevel@tonic-gate * NOTE: We list the following interfaces explicitly because the header
390Sstevel@tonic-gate *	 files that they're part of include *lots* of other interfaces
400Sstevel@tonic-gate *	 that are not part of librt.
410Sstevel@tonic-gate */
420Sstevel@tonic-gate
430Sstevel@tonic-gateint	clock_getres(clockid_t, struct timespec *);
440Sstevel@tonic-gateint	clock_gettime(clockid_t, struct timespec *);
450Sstevel@tonic-gateint	clock_settime(clockid_t, const struct timespec *);
460Sstevel@tonic-gateint	fdatasync(int);
470Sstevel@tonic-gateint	nanosleep(const struct timespec *, struct timespec *);
480Sstevel@tonic-gateint	shm_open(const char *, int, mode_t);
490Sstevel@tonic-gateint	shm_unlink(const char *);
500Sstevel@tonic-gateint	sigwaitinfo(const sigset_t *_RESTRICT_KYWD, siginfo_t *_RESTRICT_KYWD);
510Sstevel@tonic-gateint	sigtimedwait(const sigset_t *_RESTRICT_KYWD, siginfo_t *_RESTRICT_KYWD,
520Sstevel@tonic-gate	    const struct timespec *_RESTRICT_KYWD);
530Sstevel@tonic-gateint	sigqueue(pid_t, int, const union sigval);
540Sstevel@tonic-gateint	timer_create(clockid_t, struct sigevent *_RESTRICT_KYWD,
550Sstevel@tonic-gate		timer_t *_RESTRICT_KYWD);
560Sstevel@tonic-gateint	timer_delete(timer_t);
570Sstevel@tonic-gateint	timer_getoverrun(timer_t);
580Sstevel@tonic-gateint	timer_gettime(timer_t, struct itimerspec *);
590Sstevel@tonic-gateint	timer_settime(timer_t, int, const struct itimerspec *_RESTRICT_KYWD,
600Sstevel@tonic-gate		struct itimerspec *_RESTRICT_KYWD);
61