12.18. Interfaces for librt

Table 12-53 defines the library name and shared object name for the librt library

Table 12-53. librt Definition

Library:librt
SONAME:librt.so.1

The behavior of the interfaces in this library is specified by the following specifications:

[SUSv3] POSIX 1003.1-2001 (ISO/IEC 9945-2003)

12.18.1. Shared Memory Objects

12.18.1.1. Interfaces for Shared Memory Objects

An LSB conforming implementation shall provide the generic functions for Shared Memory Objects specified in Table 12-54, with the full mandatory functionality as described in the referenced underlying specification.

Table 12-54. librt - Shared Memory Objects Function Interfaces

shm_open [SUSv3]shm_unlink [SUSv3]  

12.18.2. Clock

12.18.2.1. Interfaces for Clock

An LSB conforming implementation shall provide the generic functions for Clock specified in Table 12-55, with the full mandatory functionality as described in the referenced underlying specification.

Table 12-55. librt - Clock Function Interfaces

clock_getcpuclockid [SUSv3]clock_getres [SUSv3]clock_gettime [SUSv3]clock_nanosleep [SUSv3]
clock_settime [SUSv3]   

12.18.3. Timers

12.18.3.1. Interfaces for Timers

An LSB conforming implementation shall provide the generic functions for Timers specified in Table 12-56, with the full mandatory functionality as described in the referenced underlying specification.

Table 12-56. librt - Timers Function Interfaces

timer_create [SUSv3]timer_delete [SUSv3]timer_getoverrun [SUSv3]timer_gettime [SUSv3]
timer_settime [SUSv3]   

12.18.4. Message Queues

12.18.4.1. Interfaces for Message Queues

An LSB conforming implementation shall provide the generic functions for Message Queues specified in Table 12-57, with the full mandatory functionality as described in the referenced underlying specification.

Table 12-57. librt - Message Queues Function Interfaces

mq_close(GLIBC_2.3.4) [SUSv3]mq_getattr(GLIBC_2.3.4) [SUSv3]mq_notify(GLIBC_2.3.4) [SUSv3]mq_open(GLIBC_2.3.4) [SUSv3]
mq_receive(GLIBC_2.3.4) [SUSv3]mq_send(GLIBC_2.3.4) [SUSv3]mq_setattr(GLIBC_2.3.4) [SUSv3]mq_timedreceive(GLIBC_2.3.4) [SUSv3]
mq_timedsend(GLIBC_2.3.4) [SUSv3]mq_unlink(GLIBC_2.3.4) [SUSv3]