I noticed something in the C headers that I can't figure out why. For example, bits/socket.hthere is an enumeration type in the file enum __socket_type, but after each enumerator there is a defining macro that defines the same thing. Example:
enum __socket_type
{
SOCK_STREAM = 1,
#define SOCK_STREAM SOCK_STREAM
...
};
I could not find out what it is for. Please enlighten me. I donβt even know how to form the correct question for google request and this site search box.
source
share