I find some libraries are linked to librt.so
, while others are not. I am wondering in what circumstances it is linked.
I have never used this library directly. Is there any demo showing the direct usage of it? Is there a header file related to it?
The functions are for Real Time Solaris (Real Time means guaranteed response in a time boundary), which has since been integrated into mainline Solaris and is part of libc. Librt is present only for historical, backward compatibility reasons and you do not need to reference it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With