I have this structure:
typedef struct SM_DB { LIST_TYPE link; char name[SM_NAME_SIZE]; } SM_DB_TYPE;
And I
Use strcpy or strncpy to assign strings in C.
strcpy
strncpy