I was just looking through the source to a ping program when I came
across i = getpid() & 0xffff;. Why would you & pid_t with 0xffff?
All I could think of was it's a strange way to do a cast (Pre-ANSI,
or on some old machine). I'm sure this is historical more than
anything..
Could some one educate me?
Thanks,
any info appreciated.
Cove
--