Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

what does packing mean in c

typedef struct __attribute__((__packed__)) 
{
    IP_ADDR     MyIPAddr;               // IP address
    IP_ADDR     MyMask;                 // Subnet mask
    IP_ADDR     MyGateway;              // Default Gateway
        // etc...
} APP_CONFIG;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #packing
ADD COMMENT
Topic
Name
1+1 =