From owner-cvs-lib Wed Dec 18 06:07:07 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id GAA07919 for cvs-lib-outgoing; Wed, 18 Dec 1996 06:07:07 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id GAA07913; Wed, 18 Dec 1996 06:06:59 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.3/8.6.9) id BAA03686; Thu, 19 Dec 1996 01:01:10 +1100 Date: Thu, 19 Dec 1996 01:01:10 +1100 From: Bruce Evans Message-Id: <199612181401.BAA03686@godzilla.zeta.org.au> To: ache@nagual.ru, jkh@time.cdrom.com Subject: Re: cvs commit: src/lib/libc/sys semctl.2 Cc: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-lib@freefall.freebsd.org, jkh@freefall.freebsd.org Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> > Last argument to semctl() is union semun *, not union semun. >> >> Really? When you check last time? It says "union semun", >> not "union semun *". It sounds like this change should be backed out. > >I checked the system call argument vector - why don't you look at the >code which actually implements the system call? :-) Why don't you? :-). semctl(2) isn't a system call (it should be semctl(3)). There's an apperently-undocemented __semctl() system call, but this isn't used by either semctl(2) or ibcs2. They use the apparently-undocumented semsys() system call. Bruce