Hi  sreangsu

thanks , can u send me the url  of LIP  so that i can register.

biju





sreangsu acharyya <[EMAIL PROTECTED]> on 05/31/2001 11:57:42 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:    (bcc: Biju Raman/HSS)

Subject:  Re: [LIH] Linux kernel code




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







_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to