Back to index

glibc  2.9
Functions
testrtsig.h File Reference
#include <string.h>
#include <sys/utsname.h>
#include <kernel-features.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static int kernel_has_rtsig (void)

Function Documentation

static int kernel_has_rtsig ( void  ) [static]

Definition at line 27 of file testrtsig.h.

{
#if __ASSUME_REALTIME_SIGNALS
  return 1;
#else
  struct utsname name;

  return uname (&name) == 0 && __strverscmp (name.release, "2.1.70") >= 0;
#endif
}

Here is the call graph for this function: