C Programming question ...
vu pham
vu at sivell.com
Wed Jan 7 09:18:38 PST 2009
Ben Duncan wrote:
> 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
>
>
I believe it is just a declaration.
Vu
More information about the Linux-users
mailing list