diff -r 000000000000 -r 89d6a7a84779 Symbian3/SDK/Source/GUID-9AC6774A-41E9-5298-8696-0A317A09E1E9.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-9AC6774A-41E9-5298-8696-0A317A09E1E9.dita Thu Jan 21 18:18:20 2010 +0000 @@ -0,0 +1,14 @@ + + + + + +Librt Overview

Support for the Librt library on Symbian platform enables you to port Librt-based applications to Symbian platform quickly and easily. With knowledge of the Librt library you can also develop Librt-based applications on Symbian platform with minimal coding effort and without much knowledge of the native Symbian Utility C++ APIs.

Librt library details

The librt.dll provides the Librt functionality and your code must link to librt.lib.

Important: Your application or library that uses the Librt library for the clock solutions must link to librt.dll prior to all other libraries in the link order. This is because both libc.dll and librt.dll provide similar clock interfaces but only the Librt library is modified to behave according to the LSB 3.1 specification.

Architecture

The following image illustrates how the Librt library interacts with the components of the P.I.P.S. environment and also with Symbian platform:

+ The Librt library interacting with P.I.P.S. and Symbian platform +
APIs

The following table is a comprehensive list of Librt APIs as per the LSB 3.1 specification:

API

Shared Memory APIs

shm_open()

shm_unlink()

Clock APIs

clock_getcpuclockid()

clock_getres()

clock_gettime()

clock_nanosleep()

clock_settime()

Timer APIs

timer_create()

timer_delete()

timer_getoverrun()

timer_gettime()

timer_settime

Using Librt

The following tutorials describe some high-level usage scenarios of the Librt library functions:

  • Shared Memory Tutorial

  • Clocks and Timers Tutorial

\ No newline at end of file