Content-type: text/html Man page of librt

librt

Section: Interface Libraries (3LIB)
Updated: 24 Mar 2004
Index Return to Main Contents
 

NAME

librt, libposix4 - POSIX.1b Realtime Extensions library  

SYNOPSIS

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

DESCRIPTION

Functions in this library provide most of the interfaces specified by the POSIX.1b Realtime Extension. See standards(5). Specifically, this includes the interfaces defined under the Asynchronous I/O, Message Passing, Process Scheduling, Realtime Signals Extension, Semaphores, Shared Memory Objects, Synchronized I/O, and Timers options. The interfaces defined under the Memory Mapped Files, Process Memory Locking, and Range Memory Locking options are provided in libc(3LIB).

See the man pages for the individual interfaces in section 3RT for information on required headers.

The name libposix4 is maintained for backward compatibility and should be avoided. librt is the preferred name for this library.  

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
AvailabilitySUNWcsl (32-bit)
SUNWcslx (64-bit)
MT-LevelSafe

 

SEE ALSO

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
INTERFACES
FILES
ATTRIBUTES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:38:41 GMT, October 02, 2010