Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
librt(3LIB)		      Interface	Libraries		   librt(3LIB)

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	inter-
       faces 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 in-
       formation 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 in-
       terfaces	defined	below. See  intro(3)  for  additional  information  on
       shared object interfaces.

       aio_cancel		      aio_error
       aio_fsync		      aio_read
       aio_return		      aio_suspend
       aio_waitn		      aio_write
       clock_getres		      clock_gettime
       clock_nanosleep		      clock_settime
       close			      fdatasync
       fork			      lio_listio
       mq_close			      mq_getattr
       mq_notify		      mq_open
       mq_receive		      mq_reltimedreceive_np
       mq_reltimedsend_np	      mq_send
       mq_setattr		      mq_timedreceive
       mq_timedsend		      mq_unlink
       nanosleep		      sched_get_priority_max
       sched_get_priority_min	      sched_getparam
       sched_getscheduler	      sched_rr_get_interval
       sched_setparam		      sched_setscheduler
       sched_yield		      sem_close
       sem_destroy		      sem_getvalue
       sem_init			      sem_open
       sem_post			      sem_reltimedwait_np
       sem_timedwait		      sem_trywait
       sem_unlink		      sem_wait
       shm_open			      shm_unlink
       sigqueue			      sigtimedwait
       sigwaitinfo		      timer_create
       timer_delete		      timer_getoverrun
       timer_gettime		      timer_settime

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

       aio_cancel64		     aio_error64
       aio_fsync64		     aio_read64
       aio_return64		     aio_suspend64
       aio_waitn64		     aio_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	TYPE	     |	    ATTRIBUTE VALUE	   |
       +-----------------------------+-----------------------------+
       |Availability		     |SUNWcsl (32-bit)		   |
       +-----------------------------+-----------------------------+
       |			     |SUNWcslx (64-bit)		   |
       +-----------------------------+-----------------------------+
       |MT-Level		     |Safe			   |
       +-----------------------------+-----------------------------+

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

SunOS 5.10			  24 Mar 2004			   librt(3LIB)

NAME | SYNOPSIS | DESCRIPTION | INTERFACES | FILES | ATTRIBUTES | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=librt&sektion=3lib&manpath=SunOS+5.10>

home | help