In <18eb8025-7545-4d10-9e76-2e41deaad...@googlegroups.com> Rolf <ro...@personalized-books.com> writes:
> uint32_t myfunction (char ** _mydata) > { > char mydata[16]; > strcpy(mydata, "Hello Dude!"); > *_mydata = mydata; > return 0; > } mydata is an auto variable, which goes out of scope when myfunction() exits. *_mydata ends up pointing to garbage. -- John Gordon A is for Amy, who fell down the stairs gor...@panix.com B is for Basil, assaulted by bears -- Edward Gorey, "The Gashlycrumb Tinies" -- http://mail.python.org/mailman/listinfo/python-list