...a function unsafe can be quickly understood when one considers the implementation of the stdio library, all of whose functions are not async-signal-safe. When performing buffere…...ented by I. /* check that exp(i * pi) == -1 */ #include <math.h> /* for atan */ #include <stdio.h> #include <complex.h> int main(void) { double pi = 4 * atan(1.0); double comple…...e checks, are used as explained in the notes section above. #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <sys/types.h> int main (void) { static const char…...dumped) Program source #define _GNU_SOURCE #include <err.h> #include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <sys/mman.h> int main(void) { int status; int pke…...ilenames (whether pathnames, or references to header files) are always in italics (e.g., <stdio.h> ), except in the SYNOPSIS section, where included files are in bold (e.g., #in…...4): 2 Program source #include <fcntl.h> #include <stdlib.h> #include <unistd.h> #include <stdio.h> #include <errno.h> #include <aio.h> #include <signal.h> #define BUF_SIZE 20 /*…sockets for local interprocess communication NAME unix - sockets for local interprocess communication SYNOPSIS #include <sys/socket.h> #include <sys/un.h> unix_socket = socket(AF_U…...-time crash. This is reportedly fixed in glibc 2.10. EXAMPLES #include <link.h> #include <stdio.h> unsigned int la_version(unsigned int version) { printf("la_version(): version …...nd name of all UNIX domain sockets in the current namespace. #include <errno.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <sys/socket.h> #include <sys/…monitoring filesystem events NAME fanotify - monitoring filesystem events DESCRIPTION The fanotify API provides notification and interception of filesystem events. Use cases includ…Index of configuration directives NAME systemd.directives - Index of configuration directives UNIT DIRECTIVES Directives for configuring units, used in unit files. Accept= systemd.…...URCE defined _GNU_SOURCE defined Program source /* ftm.c */ #include <stdint.h> #include <stdio.h> #include <unistd.h> #include <stdlib.h> int main(int argc, char *argv[]) { #if…...URCE defined _GNU_SOURCE defined Program source /* ftm.c */ #include <stdint.h> #include <stdio.h> #include <unistd.h> #include <stdlib.h> int main(int argc, char *argv[]) { #if…monitoring filesystem events NAME inotify - monitoring filesystem events DESCRIPTION The inotify API provides a mechanism for monitoring filesystem events. Inotify can be used to m…overview of Linux user namespaces NAME user_namespaces - overview of Linux user namespaces DESCRIPTION For an overview of namespaces, see namespaces (7). User namespaces isolate se…List all manpages from the systemd project NAME systemd.index - List all manpages from the systemd project 3 30-systemd-environment-d-generator (8) — Load variables specified by en…