I am trying to access information within a structure. I am trying to do this by passing a pointer to the structure into a function. The function is declared like so:

Code:
void areaItems(Ptr *sPtr); //typedef Ptr is a pointer to item structure
I am then calling on the function like so:

Code:
areaItems(&startPtr); //is this the right way to pass in the pointer to the first structure in my linked list???
Hopefully I haven't screwed anything up yet.

Here is the code for void areaItems:

Code:
void areaItems(Ptr *sPtr)
{
   printf("%s\n", sPtr->name);
}
...This is clearly not working....but why?