C Programming question ...

Ben Duncan bend at linux4ms.net
Wed Jan 7 08:00:52 PST 2009


On this example:

struct	is_field {
	int	f_type;
	int	f_size;
	int	f_offset;
	char	f_name[MAXFIELDNAME];
};
typedef	struct	is_field field_t;


Is the "typedef item field_t" being allocated or just declared?

I know if I do a :

struct is_field {
   ......         } My_Struct

then My_Struct is allocated


Thanks ...


-- 
Ben Duncan - Business Network Solutions, Inc. 336 Elton Road  Jackson MS, 39212
"Never attribute to malice, that which can be adequately explained by stupidity"
        - Hanlon's Razor




More information about the Linux-users mailing list