Date: Wed, 13 Nov 2002 15:42:21 -0500 From: Garance A Drosihn <drosih@rpi.edu> To: Craig Rodrigues <rodrigc@attbi.com>, freebsd-standards@FreeBSD.ORG Subject: Re: msgsnd() improperly prototyped Message-ID: <p05200f1ab9f869275c87@[128.113.24.47]> In-Reply-To: <20021113142052.A10703@attbi.com> References: <20021113142052.A10703@attbi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
At 2:20 PM -0500 11/13/02, Craig Rodrigues wrote: >the prototype for msgsnd() should be: > >int msgsnd(int, const void *, size_t, int); > >but FreeBSD's prototype in <sys/msg.h> 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. Well, if you're like me, you could do a combination of 'find' and grep in /usr/src to find it. This is probably a dumb way to do it, but it works. Or you could change the header, do a buildworld, and see what complains... :-) The "source code tour" at http://snapshots.jp.FreeBSD.org/tour/ might also be a way to track this down. I haven't used it recently, but it was a pretty nice idea. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05200f1ab9f869275c87>