Hi Again,
Since you were so kind to me, I will impose another
one on you (the previous answers were _all_ correct! )
Given:
typedef struct junk {
...
} junk_t
volatile junk_t trash;
What I want to do is zero out trash.
bzero(trash, sizeof(junk_t));
produces a warning about loss of volatility.
So does:
bzero((void *)&trash, sizeof(junk_t));
So, how do I make everyone happy?
Oh, the struct has to be volatile. Trust me on that one.
Sincerely Yours
404.664.6401
Simon Shapiro Research Fellow, Earthlink Inc.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message