Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Interface Librarieslibrt(3LIB)


NAME

 librt, libposix4 - POSIX.1b Realtime Extensions library

SYNOPSIS

 
cc [ flag... ] file... -lrt [ library ... ]
 
cc [ flag... ] file... -lposix4 [ 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_settimeclose
fdatasyncfork
lio_listiomq_close
mq_getattrmq_notify
mq_openmq_receive
mq_sendmq_setattr
mq_unlinknanosleep
sched_get_priority_maxsched_get_priority_min
sched_getparamsched_getscheduler
sched_rr_get_intervalsched_setparam
sched_setschedulersched_yield
sem_closesem_destroy
sem_getvaluesem_init
sem_opensem_post
sem_trywaitsem_unlink
sem_waitshm_open
shm_unlinksigqueue
sigtimedwaitsigwaitinfo
timer_createtimer_delete
timer_getoverruntimer_gettime
timer_settime 

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

aio_cancel64aio_error64
aio_fsync64aio_read64
aio_return64aio_suspend64
aio_write64lio_listio64

FILES

 
/usr/lib/librt.so.1
shared object
/usr/lib/64/librt.so.1
64-bit shared object file
/usr/lib/libposix4.so.1
shared object
/usr/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)


SunOS 5.9Go To TopLast Changed 15 Jan 2002

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.