aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/gnu/bits/shm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/gnu/bits/shm.h')
-rw-r--r--sysdeps/gnu/bits/shm.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/gnu/bits/shm.h b/sysdeps/gnu/bits/shm.h
index 1aee01664f..8791e7e9f2 100644
--- a/sysdeps/gnu/bits/shm.h
+++ b/sysdeps/gnu/bits/shm.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996, 1997, 2000, 2002 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
@@ -35,6 +35,10 @@
#define SHM_LOCK 11 /* lock segment (root only) */
#define SHM_UNLOCK 12 /* unlock segment (root only) */
+/* Segment low boundary address multiple. */
+#define SHMLBA (__getpagesize ())
+extern int __getpagesize (void) __THROW __attribute__ ((__const__));
+
/* Type to count number of attaches. */
typedef unsigned short int shmatt_t;