petree@gaigan.cs.utexas.edu (Mitch Petree) (02/11/88)
I am having trouble using XFetchName. I am using X10.4, in which XFetchName is declared (in my manual): Status XFetchName (w,name) Window w; char **name; /* RETURN */ I use XStoreName with no problem, but when I try to XFetchName, I get a core dump. I tried changing the declaraction of name to "char *name[];" and I didn't get a core dump, but there was nothing in name. I know the first declaration is for name to be a pointer to a string (a pointer to a pointer to a char), so when I start out, name is nil. XFetchName should set name to be the pointer, but why would it reference name? Maybe there's something I don't know about C pointers... HELP! -mitch petree (petree@gaigan.cs.utexas.edu)