-- Don't forget to test if the malloc is successfull after use :) if(!rad_cmd) { perror("MyFunction :"); exit(<your return value>); } ------ Adrien Dessemond Eleve ingenieur Institut Mediterraneen d'Etudes et Recherches en Informatique, IA, Robotique - Perpignan (FRANCE) http://www.imerir.asso.fr - Mortal Kontakt : dessemond@imerir.asso.fr "Going on means going far. Going far means returning.