xref: /titanic_51/usr/src/man/man3lib/librt.3lib (revision c10c16dec587a0662068f6e2991c29ed3a9db943)
te
Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
librt 3LIB "5 Feb 2008" "SunOS 5.11" "Interface Libraries"
NAME
librt, libposix4 - POSIX.1b Realtime Extensions library
SYNOPSIS

cc [ flag... ] file... -lrt [ library... ]
DESCRIPTION

Historically, functions in this library provided many of the interfaces specified by the POSIX.1b Realtime Extension. See standards(5). This functionality now resides in libc(3LIB).

This library is maintained to provide backward compatibility for both runtime and compilation environments. The shared object is implemented as a filter on libc.so.1. New application development need not specify -lrt.

INTERFACES

The shared objects librt.so.1 and libposix4.so.1 provide the public interfaces defined below. See Intro(3) for additional information on shared object interfaces.

aio_cancelaio_error
aio_fsyncaio_read
aio_returnaio_suspend
aio_waitnaio_write
clock_getresclock_gettime
clock_nanosleepclock_settime
closefdatasync
forklio_listio
mq_closemq_getattr
mq_notifymq_open
mq_receivemq_reltimedreceive_np
mq_reltimedsend_npmq_send
mq_setattrmq_timedreceive
mq_timedsendmq_unlink
nanosleepsched_get_priority_max
sched_get_priority_minsched_getparam
sched_getschedulersched_rr_get_interval
sched_setparamsched_setscheduler
sched_yieldsem_close
sem_destroysem_getvalue
sem_initsem_open
sem_postsem_reltimedwait_np
sem_timedwaitsem_trywait
sem_unlinksem_wait
shm_openshm_unlink
sigqueuesigtimedwait
sigwaitinfotimer_create
timer_deletetimer_getoverrun
timer_gettimetimer_settime

The following interfaces are unique to the 32-bit version of this library:

aio_cancel64aio_error64
aio_fsync64aio_read64
aio_return64aio_suspend64
aio_waitn64aio_write64
lio_listio64
FILES

/lib/librt.so.1

shared object

/lib/64/librt.so.1

64-bit shared object file

/lib/libposix4.so.1

shared object

/lib/64/libposix4.so.1

64-bit shared object file

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
MT-LevelSafe
SEE ALSO

pvs(1), Intro(3), libc(3LIB), attributes(5), standards(5)