I would like to know if some piece of C code would allow a shared object to "detect" if it is being executed on a standard or on a real time Linux platform (in order to act accordingly). I'm not asking for some subtle real time capability test but for something more like simply checking if the scheduler is "marked" as real time or not (like trusting an "auto-declared" type of scheduler, if it makes sense).
Thanks for your help.