compare struct in6_addr
Date: Fri, 10 Oct 2003 20:32:57 -0700
how does one compare a struct in6_addr? can i just memcmp() the s6_addr
member, as i would do the s_addr member from a struct in_addr?
- Re: Requesting sample code!
... a function can never be a member of a struct. ... Putting a pointer to function in a structure is no different. ... than a pointer to int or pointer to char or pointer to struct. ...
- Re: What do others make of this code?
... The intent of the 'm_' is to distinguish the variable as a member ... I also didn't like the "m_" prefix. ... C++ programming guidelines. ... It all depends IMHO on how the struct is used. ...
- Re: realloc() implicit free() ?
... >>> memory has no effective type, because it hasn't been stored into yet. ... Writing into one struct member causes the whole struct to be accessed ... >>> pointers to structs being the same as pointers to their first ...
- PP installation failed in Sun One Web Server
... member of struct or union. ... t #1 is not the correct type. ...
- Re: Uninitialized memory, malloc and unsigned char
... the structure or union object may be a trap representation. ... affect validity of the struct. ... undefined behavior even when the member of a struct being assigned ... the array it points to may be used instead of a buffer allocated by ...