Question about kernel module syntax !!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I've been looking at some kernel modules trying to map an embedded
devices resources and while going through a driver, I encountered an
"if" test that employed "!!", example:

if !!function_foo(args) {
 ...
}

What does the "!!" do? (I'm familiar with a single "!")

Please reply directly, I didn't subscribe to the mailing list.

- RT Mistler


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux