strace/getpagesize.c
Dmitry V. Levin af955678b9 Move decoder of getpagesize syscall to libstrace
As only five architectures have getpagesize syscall, moving the decoder
to libstrace allows to get rid of getpagesize related ifdefs and check
build of getpagesize decoder on other architectures.

* mem.c (SYS_FUNC(getpagesize)): Move ...
* getpagesize.c: ... to this new file.
* Makefile.am (libstrace_a_SOURCES): Add it.
2018-01-21 20:19:53 +00:00

7 lines
78 B
C

#include "defs.h"
SYS_FUNC(getpagesize)
{
return RVAL_DECODED | RVAL_HEX;
}