[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
POSIX, alpha, strtok() and char *'s...
- From: "s.c. trusty" <alpharht omega croesus net>
- To: axp-list redhat com
- Subject: POSIX, alpha, strtok() and char *'s...
- Date: Fri, 27 Mar 1998 10:33:33 -0700 (MST)
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]