git: Further shared memory adjustments to be in line with POSIX.

Sascha Wildner swildner at crater.dragonflybsd.org
Fri Oct 28 23:14:06 PDT 2011


commit 468e7a83ace0a24e34ff3fc251ed2bc5fecffe87
Author: Sascha Wildner <saw at online.de>
Date:   Sat Oct 29 08:12:38 2011 +0200

    Further shared memory adjustments to be in line with POSIX.
    
    * shmat()'s and shmdt()'s addr argument shall be const.
    
    * Make struct shmid_ds's shm_nattch unsigned and define the shmatt_t
      type for it.
    
    * More manual page adjustments.

Summary of changes:
 lib/libc/sys/shmat.2     |    7 +++----
 lib/libc/sys/shmctl.2    |    9 +++++----
 lib/libc/sys/shmget.2    |    3 +--
 sys/kern/syscalls.master |    5 +++--
 sys/sys/shm.h            |    8 ++++----
 sys/sys/sysproto.h       |    4 ++--
 6 files changed, 18 insertions(+), 18 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/468e7a83ace0a24e34ff3fc251ed2bc5fecffe87


-- 
DragonFly BSD source repository





More information about the Commits mailing list