Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1508 → Rev 1507

/uspace/trunk/libc/generic/io/stream.c
117,12 → 117,6
return stream;
}
 
static ssize_t write_null(void *param, const void *buf, size_t count)
{
return count;
}
 
 
fd_t open(const char *fname, int flags)
{
int c = 0;
148,10 → 142,6
streams[c].w = write_stderr;
return c;
}
if (!strcmp(fname, "null")) {
streams[c].w = write_null;
return c;
}
}