Skip to main content
added 102 characters in body
Source Link
LittleByBlue
  • 233
  • 1
  • 2
  • 8

Use thisthis(link broken) this library to get infos about the jobs, which are running.

There is a special field in the struct Job for the signals, called sigCgt

You may use something like this:

#include"read_proc.h" int main(void) { struct Root * rt=read_proc(); struct Job * jb=rt->first->job; printf("%ull\n",jb->sigCgt); return 0; } 

Use this library to get infos about the jobs, which are running.

There is a special field in the struct Job for the signals, called sigCgt

You may use something like this:

#include"read_proc.h" int main(void) { struct Root * rt=read_proc(); struct Job * jb=rt->first->job; printf("%ull\n",jb->sigCgt); return 0; } 

Use this(link broken) this library to get infos about the jobs, which are running.

There is a special field in the struct Job for the signals, called sigCgt

You may use something like this:

#include"read_proc.h" int main(void) { struct Root * rt=read_proc(); struct Job * jb=rt->first->job; printf("%ull\n",jb->sigCgt); return 0; } 
Source Link
LittleByBlue
  • 233
  • 1
  • 2
  • 8

Use this library to get infos about the jobs, which are running.

There is a special field in the struct Job for the signals, called sigCgt

You may use something like this:

#include"read_proc.h" int main(void) { struct Root * rt=read_proc(); struct Job * jb=rt->first->job; printf("%ull\n",jb->sigCgt); return 0; }