1librt(3LIB)                   Interface Libraries                  librt(3LIB)
2
3
4

NAME

6       librt, libposix4 - POSIX.1b Realtime Extensions library
7

SYNOPSIS

9       cc [ flag... ] file... -lrt [ library... ]
10
11

DESCRIPTION

13       Historically, functions in this library provided many of the interfaces
14       specified by the POSIX.1b Realtime Extension.  See  standards(5).  This
15       functionality now resides in libc(3LIB).
16
17
18       This  library  is maintained to provide backward compatibility for both
19       runtime and compilation environments. The shared      object is  imple‐
20       mented  as  a filter on libc.so.1. New application development need not
21       specify -lrt.
22

INTERFACES

24       The shared objects librt.so.1 and  libposix4.so.1  provide  the  public
25       interfaces  defined  below.  See Intro(3) for additional information on
26       shared object interfaces.
27
28
29
30
31       aio_cancel                    aio_error
32       aio_fsync                     aio_read
33       aio_return                    aio_suspend
34       aio_waitn                     aio_write
35       clock_getres                  clock_gettime
36       clock_nanosleep               clock_settime
37       close                         fdatasync
38       fork                          lio_listio
39       mq_close                      mq_getattr
40       mq_notify                     mq_open
41       mq_receive                    mq_reltimedreceive_np
42       mq_reltimedsend_np            mq_send
43       mq_setattr                    mq_timedreceive
44       mq_timedsend                  mq_unlink
45       nanosleep                     sched_get_priority_max
46       sched_get_priority_min        sched_getparam
47       sched_getscheduler            sched_rr_get_interval
48       sched_setparam                sched_setscheduler
49       sched_yield                   sem_close
50       sem_destroy                   sem_getvalue
51       sem_init                      sem_open
52       sem_post                      sem_reltimedwait_np
53       sem_timedwait                 sem_trywait
54       sem_unlink                    sem_wait
55       shm_open                      shm_unlink
56       sigqueue                      sigtimedwait
57       sigwaitinfo                   timer_create
58       timer_delete                  timer_getoverrun
59       timer_gettime                 timer_settime
60
61
62
63       The following interfaces are unique  to  the  32-bit  version  of  this
64       library:
65
66
67
68
69       aio_cancel64                  aio_error64
70       aio_fsync64                   aio_read64
71       aio_return64                  aio_suspend64
72       aio_waitn64                   aio_write64
73       lio_listio64
74
75

FILES

77       /lib/librt.so.1           shared object
78
79
80       /lib/64/librt.so.1        64-bit shared object file
81
82
83       /lib/libposix4.so.1       shared object
84
85
86       /lib/64/libposix4.so.1    64-bit shared object file
87
88

ATTRIBUTES

90       See attributes(5) for descriptions of the following attributes:
91
92
93
94
95       ┌─────────────────────────────┬─────────────────────────────┐
96       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
97       ├─────────────────────────────┼─────────────────────────────┤
98       │Availability                 │SUNWcsl (32-bit)             │
99       ├─────────────────────────────┼─────────────────────────────┤
100       │                             │SUNWcslx (64-bit)            │
101       ├─────────────────────────────┼─────────────────────────────┤
102       │MT-Level                     │Safe                         │
103       └─────────────────────────────┴─────────────────────────────┘
104

SEE ALSO

106       pvs(1), Intro(3), libc(3LIB), attributes(5), standards(5)
107
108
109
110SunOS 5.11                        5 Feb 2008                       librt(3LIB)
Impressum