mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-11 03:40:06 +00:00
* sysdeps/unix/sysv/linux/arm/bits/mman.h: Update error message
for consistency with other ports. (MADV_REMOVE, MADV_DONTFORK, MADV_DOFORK): Define.
This commit is contained in:
parent
142b51e416
commit
23d0322571
@ -1,3 +1,9 @@
|
||||
2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/arm/bits/mman.h: Update error message
|
||||
for consistency with other ports.
|
||||
(MADV_REMOVE, MADV_DONTFORK, MADV_DOFORK): Define.
|
||||
|
||||
2006-05-05 Lior Balkohen <balkohen@gmail.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Remove
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Definitions for POSIX memory map interface. Linux/ARM version.
|
||||
Copyright (C) 1997, 2000, 2003, 2005 Free Software Foundation, Inc.
|
||||
Copyright (C) 1997, 2000, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -18,7 +18,7 @@
|
||||
02111-1307 USA. */
|
||||
|
||||
#ifndef _SYS_MMAN_H
|
||||
# error "Never include this file directly. Use <sys/mman.h> instead"
|
||||
# error "Never use <bits/mman.h> directly; include <sys/mman.h> instead."
|
||||
#endif
|
||||
|
||||
/* The following definitions basically come from the kernel headers.
|
||||
@ -88,6 +88,9 @@
|
||||
# define MADV_SEQUENTIAL 2 /* Expect sequential page references. */
|
||||
# define MADV_WILLNEED 3 /* Will need these pages. */
|
||||
# define MADV_DONTNEED 4 /* Don't need these pages. */
|
||||
# define MADV_REMOVE 9 /* Remove these pages and resources. */
|
||||
# define MADV_DONTFORK 10 /* Do not inherit across fork. */
|
||||
# define MADV_DOFORK 11 /* Do inherit across fork. */
|
||||
#endif
|
||||
|
||||
/* The POSIX people had to invent similar names for the same things. */
|
||||
|
Loading…
Reference in New Issue
Block a user