pkey_alloc.2: Switch to glibc prototype in SYNOPSIS

In the kernel, the type of the arguments to pkey_alloc() is
"unsigned long" and that's what the page documented until now.
Now that glibc support is added for pkey_alloc(), switch to the
glibc prototype, which uses "unsigned int".

Reported-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2018-05-18 17:23:31 +02:00
parent f9d9ad2163
commit 6a4c997189
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ pkey_alloc, pkey_free \- allocate or free a protection key
.nf
.B #include <sys/mman.h>
.PP
.BI "int pkey_alloc(unsigned long " flags ", unsigned long " access_rights ");"
.BI "int pkey_alloc(unsigned int " flags ", unsigned int " access_rights ");"
.BI "int pkey_free(int " pkey ");"
.fi
.SH DESCRIPTION