API for miscellaneous information in the /proc filesystem NAME procps_misc - API for miscellaneous information in the /proc filesystem SYNOPSIS #include <libproc2/misc.h> Platform …obtain ID of a process CPU-time clock NAME clock_getcpuclockid - obtain ID of a process CPU-time clock LIBRARY Standard C library ( libc , -lc ), since glibc 2.17 Before glibc 2.17…queue a signal and data to a process NAME sigqueue - queue a signal and data to a process LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <signal.h> int sigqueue(pid_t …spawn a process NAME posix_spawn, posix_spawnp - spawn a process LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <spawn.h> int posix_spawn(pid_t *restrict pid , const c…spawn a process NAME posix_spawn, posix_spawnp - spawn a process LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <spawn.h> int posix_spawn(pid_t *restrict pid , const c…open and close a shared object NAME dlclose, dlopen, dlmopen - open and close a shared object LIBRARY Dynamic linking library ( libdl , -ldl ) SYNOPSIS #include <dlfcn.h> void *dlo…open and close a shared object NAME dlclose, dlopen, dlmopen - open and close a shared object LIBRARY Dynamic linking library ( libdl , -ldl ) SYNOPSIS #include <dlfcn.h> void *dlo…open and close a shared object NAME dlclose, dlopen, dlmopen - open and close a shared object LIBRARY Dynamic linking library ( libdl , -ldl ) SYNOPSIS #include <dlfcn.h> void *dlo…get/set resource limits NAME getrlimit, setrlimit, prlimit - get/set resource limits LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <sys/resource.h> int getrlimit(int …get and set terminal foreground process group NAME tcgetpgrp, tcsetpgrp - get and set terminal foreground process group LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include …get and set terminal foreground process group NAME tcgetpgrp, tcsetpgrp - get and set terminal foreground process group LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include …set/get the name of a thread NAME pthread_setname_np, pthread_getname_np - set/get the name of a thread LIBRARY POSIX threads library ( libpthread , -lpthread ) SYNOPSIS #define _G…set/get the name of a thread NAME pthread_setname_np, pthread_getname_np - set/get the name of a thread LIBRARY POSIX threads library ( libpthread , -lpthread ) SYNOPSIS #define _G…obtain name used to invoke calling program NAME program_invocation_name, program_invocation_short_name - obtain name used to invoke calling program LIBRARY Standard C library ( lib…obtain name used to invoke calling program NAME program_invocation_name, program_invocation_short_name - obtain name used to invoke calling program LIBRARY Standard C library ( lib…get session ID NAME tcgetsid - get session ID LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #define _XOPEN_SOURCE 500 /* See feature_test_macros(7) */ #include <termios.h> pid…get resource usage NAME getrusage - get resource usage LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <sys/resource.h> int getrusage(int who , struct rusage * usage );…send messages to the system logger NAME closelog, openlog, syslog, vsyslog - send messages to the system logger LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <syslog.…send messages to the system logger NAME closelog, openlog, syslog, vsyslog - send messages to the system logger LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <syslog.…send messages to the system logger NAME closelog, openlog, syslog, vsyslog - send messages to the system logger LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <syslog.…