diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-08-23 22:26:25 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-08-23 22:26:25 +0000 |
commit | 28fdb447c137f32abb3a95e3bfced78f4de42f25 (patch) | |
tree | 97cabcfa531ba246e2a33d5eb792f4e72440d680 /sysdeps/unix | |
parent | 1077d52cfb3c2f9e04579dff44074cb2e829530c (diff) | |
download | glibc-28fdb447c137f32abb3a95e3bfced78f4de42f25.tar glibc-28fdb447c137f32abb3a95e3bfced78f4de42f25.tar.gz glibc-28fdb447c137f32abb3a95e3bfced78f4de42f25.tar.bz2 glibc-28fdb447c137f32abb3a95e3bfced78f4de42f25.zip |
Define SHMLBA.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/bits/shm.h | 6 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/bits/shm.h | 7 |
2 files changed, 11 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/shm.h b/sysdeps/unix/sysv/linux/alpha/bits/shm.h index 8559ce33d4..ae51e75452 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/shm.h +++ b/sysdeps/unix/sysv/linux/alpha/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 long int shmatt_t; diff --git a/sysdeps/unix/sysv/linux/mips/bits/shm.h b/sysdeps/unix/sysv/linux/mips/bits/shm.h index ddae6b01c2..85b286e9de 100644 --- a/sysdeps/unix/sysv/linux/mips/bits/shm.h +++ b/sysdeps/unix/sysv/linux/mips/bits/shm.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 1996, 1997, 2000, 2001 Free Software Foundation, Inc. +/* Copyright (C) 1995,1996,1997,2000,2001,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,11 @@ #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 long int shmatt_t; |