Chris Hills said:
You're right - it's completely topical, provided only that we can find the
source code for it. Fortunately, I have *found* the complete source code
to spawnl:
void spawnl(char *target, const char *source)
{
while(*source != '\0')
{
*target++ = *source;
if(*source++ == 'l')
{
*target++ = 'l';
}
}
*target = '\0';
}
Spawn, fork etc start a separate process
Not here they don't. Here, Spawn() moves a pawn one place to the South, and
fork() draws a Y-shaped object (like a fork in the road) on a bitmap.
If you think I'm wrong, please show me where the C Standard makes this
clear.
System() and the like are used to start an external program.
On my system, it's system() that does that. System() does something else
entirely. C is a case-sensitive language.
<snip>