Subject: Re: question about SWAP() in inetd.c
To: Brad Walker <bwalker@musings.com>
From: Richard Earnshaw <rearnsha@arm.com>
List: current-users
Date: 12/01/2000 11:07:01
> 
> Okay, maybe I'm an idiot. But, I can't seem to figure out the following
> line in inetd.c.
> 
> #define SWAP(a, b) { typeof(a) c = a; a = b; b = c; }
> 
> What is typeof? I guess the macro is self-explanatory but where
> did this come from..
> 

I believe it's a gcc'ism.

R.