14.18. Interfaces for librt

Table 14-59 defines the library name and shared object name for the librt library

Table 14-59. librt Definition

Library:librt
SONAME:librt.so.1

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

[LFS] Large File Support
[SUSv4] POSIX 1003.1-2008 (ISO/IEC 9945-2009)

14.18.1. Shared Memory Objects

14.18.1.1. Interfaces for Shared Memory Objects

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

Table 14-60. librt - Shared Memory Objects Function Interfaces

shm_open [SUSv4]shm_unlink [SUSv4]  

14.18.2. Asynchronous I/O

14.18.2.1. Interfaces for Asynchronous I/O

An LSB conforming implementation shall provide the generic functions for Asynchronous I/O specified in Table 14-61, with the full mandatory functionality as described in the referenced underlying specification.

Table 14-61. librt - Asynchronous I/O Function Interfaces

aio_cancel [SUSv4]aio_cancel64 [LFS]aio_error [SUSv4]aio_error64 [LFS]
aio_fsync [SUSv4]aio_fsync64 [LFS]aio_read [SUSv4]aio_read64 [LFS]
aio_return [SUSv4]aio_return64 [LFS]aio_suspend [SUSv4]aio_suspend64 [LFS]
aio_write [SUSv4]aio_write64 [LFS]lio_listio(GLIBC_2.4) [SUSv4]lio_listio64(GLIBC_2.4) [LFS]

14.18.3. Clock

14.18.3.1. Interfaces for Clock

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

Table 14-62. librt - Clock Function Interfaces

clock_getcpuclockid [SUSv4]clock_getres [SUSv4]clock_gettime [SUSv4]clock_nanosleep [SUSv4]
clock_settime [SUSv4]   

14.18.4. Timers

14.18.4.1. Interfaces for Timers

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

Table 14-63. librt - Timers Function Interfaces

timer_create [SUSv4]timer_delete [SUSv4]timer_getoverrun [SUSv4]timer_gettime [SUSv4]
timer_settime [SUSv4]   

14.18.5. Message Queues

14.18.5.1. Interfaces for Message Queues

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

Table 14-64. librt - Message Queues Function Interfaces

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