From owner-freebsd-standards Wed Nov 13 11:20:56 2002 Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFCBF37B401 for ; Wed, 13 Nov 2002 11:20:54 -0800 (PST) Received: from dibbler.ne.client2.attbi.com (dibbler.ne.client2.attbi.com [24.61.41.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBF1043E4A for ; Wed, 13 Nov 2002 11:20:53 -0800 (PST) (envelope-from rodrigc@attbi.com) Received: from dibbler.ne.client2.attbi.com (localhost [127.0.0.1]) by dibbler.ne.client2.attbi.com (8.12.6/8.12.6) with ESMTP id gADJKrmF010716 for ; Wed, 13 Nov 2002 14:20:53 -0500 (EST) (envelope-from rodrigc@dibbler.ne.client2.attbi.com) Received: (from rodrigc@localhost) by dibbler.ne.client2.attbi.com (8.12.6/8.12.6/Submit) id gADJKqKM010715 for freebsd-standards@freebsd.org; Wed, 13 Nov 2002 14:20:52 -0500 (EST) Date: Wed, 13 Nov 2002 14:20:52 -0500 From: Craig Rodrigues To: freebsd-standards@freebsd.org Subject: msgsnd() improperly prototyped Message-ID: <20021113142052.A10703@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, According to: http://www.opengroup.org/onlinepubs/007904975/basedefs/sys/msg.h.html the prototype for msgsnd() should be: int msgsnd(int, const void *, size_t, int); but FreeBSD's prototype in is missing the const qualifier: int msgsnd(int, void *, size_t, int); I'd like to fix this and submit a patch. Where is the implementation of this function? I can fix the header file and man page, but don't know where to look for the implementation. -- Craig Rodrigues http://www.gis.net/~craigr rodrigc@attbi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message