1/* $Id: shm.h,v 1.6 1995/08/30 00:33:35 bde Exp $ */ |
2/* $NetBSD: shm.h,v 1.15 1994/06/29 06:45:17 cgd Exp $ */ 3 4/* 5 * Copyright (c) 1994 Adam Glass 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 28 unchanged lines hidden (view full) --- 38 39#ifndef _SYS_SHM_H_ 40#define _SYS_SHM_H_ 41 42#include <sys/ipc.h> 43 44#define SHM_RDONLY 010000 /* Attach read-only (else read-write) */ 45#define SHM_RND 020000 /* Round attach address to SHMLBA */ |
46#define SHMLBA CLBYTES /* Segment low boundary address multiple */ |
47 48/* "official" access mode definitions; somewhat braindead since you have 49 to specify (SHM_* >> 3) for group and (SHM_* >> 6) for world permissions */ 50#define SHM_R (IPC_R) 51#define SHM_W (IPC_W) 52 53 54struct shmid_ds { --- 44 unchanged lines hidden --- |