From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 27050 invoked from network); 27 Mar 1998 17:23:59 -0000 Received: from croesus.net (HELO omega.croesus.net) (209.75.134.254) by mail2.redhat.com with SMTP; 27 Mar 1998 17:23:59 -0000 Received: from localhost (alpharht@localhost) by omega.croesus.net (8.8.8/8.8.5) with SMTP id KAA05113 for ; Fri, 27 Mar 1998 10:33:34 -0700 Date: Fri, 27 Mar 1998 10:33:33 -0700 (MST) From: "s.c. trusty" To: axp-list@redhat.com Subject: POSIX, alpha, strtok() and char *'s... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII greetings. my question regards POSIX saying that strtok returns a char *. on my axp, sizeof(char *) = 8 sizeof(strtok(configToken, \",\")) is 4 (!) hence, sizeof((char *)strtok(configToken, ",")) = cast to pointer from integer of different size what is the typical way to solve/explain this? i realize this is a probably old and moldy, but haven't had any luck tracking down the solution. thanks any and all in advance, stuart trusty, sysadmin, linux labs tucson.az.us