On Thu, 31 May 2001 [EMAIL PROTECTED] wrote:
> 4 typedef struct { unsigned long a[100]; } __dummy_lock_t;
> 5 #define __dummy_lock(lock) (*(__dummy_lock_t *)(lock))
> - My doubt is what does (*(__dummy_lock_t *)(lock)) in line 5 resolve
> to?? is it a function call ?? I don't think its a function call bcoz
it is casting "lock" to pointer of __dummy_lock_t and then dereferencing
it.
say a simpler example would be (* ( int *)some_pointer)
-- sreangsu
p.s. more suitable for lip. Please post such queries there.
--
p.p.s We are having a role reversal of sorts, lih queries arriving at lip
and vice versa
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help