the first allows you to use IOPORT inside the struct for refering to objects of the same type. useful in cases such as linked lists where a node has to refer to a node.
More Related Contents:
- Is there a way to use a typedef struct variable in a function…? [closed]
- typedef struct vs struct definitions [duplicate]
- self referential struct definition?
- Why should we typedef a struct so often in C?
- How to define a typedef struct containing pointers to itself?
- Opaque C structs: various ways to declare them
- What is ‘forward declaration’ and the difference between ‘typedef struct X’ and ‘struct X’?
- C typedef of pointer to structure
- C : typedef struct name {…}; VS typedef struct{…} name;
- Why does “typdef struct { struct S *s; } S;” containing a pointer to same type compile?
- C Typedef – Incomplete Type
- dereferencing pointer to incomplete type
- How can I correctly assign a new string value?
- typedef fixed length array
- “error: assignment to expression with array type error” when I assign a struct field (C)
- Copying one structure to another
- struct serialization in C and transfer over MPI
- Passing struct to function
- Copy struct to struct in C
- Why can’t we initialize members inside a structure?
- What is a hash table and how do you make it in C? [closed]
- Hiding members in a C struct
- default value for struct member in C
- C – freeing structs
- What is the use of typedef?
- Array of size 0 at the end of struct [duplicate]
- How to initialize a pointer to a struct in C?
- Is memset(&mystruct, 0, sizeof mystruct) same as mystruct = { 0 };?
- Can I ‘extend’ a struct in C?
- In C, is it good form to use typedef for a pointer?