Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
	* misc/sys/mman.h: Add prototype for mincore.
  • Loading branch information
Ulrich Drepper committed Mar 17, 2000
1 parent f5ef755 commit 4ede8b0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
from latest Linux kernel.
* sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.

* misc/sys/mman.h: Add prototype for mincore.

2000-03-17 Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
Expand Down
7 changes: 7 additions & 0 deletions misc/sys/mman.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ extern int munlockall (void) __THROW;
differ from ADDR. */
extern void *mremap (void *__addr, size_t __old_len, size_t __new_len,
int __may_move) __THROW;

/* mincore returns the memory residency status of the pages in the
current process's address space specified by [start, start + len).
The status is returned in a vector of bytes. The least significant
bit of each byte is 1 if the referenced page is in memory, otherwise
it is zero. */
extern int mincore (void *__start, size_t __len, unsigned char *__vec);
#endif

__END_DECLS
Expand Down

0 comments on commit 4ede8b0

Please sign in to comment.