Path: utzoo!mnetor!uunet!husc6!ut-sally!gaigan!petree From: petree@gaigan.cs.utexas.edu (Mitch Petree) Newsgroups: comp.windows.x Subject: XFetchName's name argument Message-ID: <10340@ut-sally.UUCP> Date: 10 Feb 88 17:58:19 GMT Sender: news@ut-sally.UUCP Lines: 16 Keywords: XFetchName, pointer to string 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)