9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] APE: strdup()
@ 2001-10-15  7:14 pac
  2001-10-15  7:22 ` Boyd Roberts
  2001-10-15  7:41 ` Wladimir Mutel
  0 siblings, 2 replies; 7+ messages in thread
From: pac @ 2001-10-15  7:14 UTC (permalink / raw)
  To: 9fans

     char *parameterfile, optarg;
		...
     parameterfile = strdup(optarg);

cc: incompatible types: "IND CHAR" and "INT" for op "AS"
although manpage says:
char* strdup(char *s)


--
Peter A Cejchan
biologist
Acad. Sci., Prague, CZ
<cej at cejchan dot gli dot cas dot cz>



^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: [9fans] APE: strdup()
@ 2001-10-15 19:15 David Gordon Hogan
  0 siblings, 0 replies; 7+ messages in thread
From: David Gordon Hogan @ 2001-10-15 19:15 UTC (permalink / raw)
  To: 9fans

Wladimir Mutel <mwg@fluffy.isd.dp.ua> writes:
>	Write this way :
>
>	char * p, * o;

No.



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-10-22  9:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-15  7:14 [9fans] APE: strdup() pac
2001-10-15  7:22 ` Boyd Roberts
2001-10-15  7:41 ` Wladimir Mutel
2001-10-15  7:47   ` Boyd Roberts
2001-10-15 10:01     ` strdup once more, was: " pac
2001-10-22  9:25       ` Douglas A. Gwyn
2001-10-15 19:15 David Gordon Hogan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).