mirror of https://github.com/mkerrisk/man-pages
eventfd.2, mprotect.2, signalfd.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
5b4e617fa4
commit
1c32ee471c
|
@ -324,9 +324,9 @@ Child completed write loop
|
||||||
Parent about to read
|
Parent about to read
|
||||||
Parent read 28 (0x1c) from efd
|
Parent read 28 (0x1c) from efd
|
||||||
.fi
|
.fi
|
||||||
|
.in
|
||||||
.SS Program source
|
.SS Program source
|
||||||
.R " "
|
.R " "
|
||||||
.in
|
|
||||||
.nf
|
.nf
|
||||||
#include <sys/eventfd.h>
|
#include <sys/eventfd.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
|
@ -155,9 +155,9 @@ following:
|
||||||
Start of region: 0x804c000
|
Start of region: 0x804c000
|
||||||
Got SIGSEGV at address: 0x804e000
|
Got SIGSEGV at address: 0x804e000
|
||||||
.fi
|
.fi
|
||||||
|
.in
|
||||||
.SS Program source
|
.SS Program source
|
||||||
.R " "
|
.R " "
|
||||||
.in
|
|
||||||
.nf
|
.nf
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
|
@ -381,9 +381,9 @@ Got SIGINT
|
||||||
Got SIGQUIT
|
Got SIGQUIT
|
||||||
$
|
$
|
||||||
.fi
|
.fi
|
||||||
|
.in
|
||||||
.SS Program source
|
.SS Program source
|
||||||
.R " "
|
.R " "
|
||||||
.in
|
|
||||||
.nf
|
.nf
|
||||||
#include <sys/signalfd.h>
|
#include <sys/signalfd.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
Loading…
Reference in New Issue