Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Aug 1999 18:33:30 -0400 (EDT)
From:      Marc Tardif <intmktg@CAM.ORG>
To:        freebsd-hackers@freebsd.org
Subject:   prototypes with __P
Message-ID:  <Pine.SOL.4.10.9908061827240.41-100000@Stratus.CAM.ORG>

next in thread | raw e-mail | index | archive | help
While slowly reading the FreeBSD source code, I noticed odd prototype
declarations which I haven't seen before. It looks something like this:
int function __P((int));
or
static int function __P((struct some_struct *some_pointer));
or anything similar.

At first, I simply considered the "__P" as a syntax convention. But, then
again, this kind of syntax has to be defined somewhere. I've looked all
over the place but can't seem to put the finger on the source of this
syntax.

If anyone could point me in the right direction, and maybe even show me
how I could've found the answer myself, I'd appreciate.

Thanks in advance,
Marc



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.10.9908061827240.41-100000>