mprotect.c

来自「RTEMS (Real-Time Executive for Multiproc」· C语言 代码 · 共 24 行

C
24
字号
/* *  $Id: mprotect.c,v 1.1 2001/09/13 13:23:30 joel Exp $ */#if HAVE_CONFIG_H#include "config.h"#endif#include <unistd.h>/*PAGE * *  12.2.3 Change Memory Protection, P1003.1b-1996, p. 277. * *  This is not a functional version but the SPARC backend for at least *  gcc 2.8.1 plus gnat 3.13p and gcc 3.0.1 require it to be there and *  return 0. */int mprotect(const void *addr, size_t len, int prot){  return 0;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?