mincore.c 425 B

123456789101112131415
  1. /*
  2. * This file provides the mincore() system call to uClibc.
  3. * Copyright (C) 20041215 - <solar@gentoo.org>
  4. * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
  5. *
  6. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  7. */
  8. #include "syscalls.h"
  9. #include <unistd.h>
  10. #include <sys/mman.h>
  11. #ifdef __NR_mincore
  12. _syscall3(int, mincore, void *, start, size_t, length, unsigned char *, vec);
  13. #endif