]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Define SHMLBA.
authorUlrich Drepper <drepper@redhat.com>
Fri, 23 Aug 2002 22:26:25 +0000 (22:26 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 23 Aug 2002 22:26:25 +0000 (22:26 +0000)
sysdeps/unix/sysv/linux/alpha/bits/shm.h
sysdeps/unix/sysv/linux/mips/bits/shm.h

index 8559ce33d431c81a8f47721a720565c57919b19c..ae51e75452ca41a499937e4fedc2aff215b52169 100644 (file)
@@ -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
 #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;
index ddae6b01c2b28456b1838264f6accd8b0c028ac7..85b286e9de5f6b9138a5a756d8bcf44904aac770 100644 (file)
@@ -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
 #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;