Please help
I'm having problems when I'm using the sizeof() function in 
combination with the multiplication operator, eg.
sizeof(dir_ent) * (*count)
where dir_ent is a structure and *count is a pointer to an integer. 
During compilation no errors are reported but as soon as I run the 
program, a segmentation fault is reported.

Thanks in advance

Godfree Gert
Department of Medical Physics
University of the Orange Free State
P O Box 339
Bloemfontein
9301
Tel: +27 51 4053158

Reply via email to