Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1507 → Rev 1508

/uspace/trunk/libc/generic/io/stream.c
117,6 → 117,12
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;
142,6 → 148,10
streams[c].w = write_stderr;
return c;
}
if (!strcmp(fname, "null")) {
streams[c].w = write_null;
return c;
}
}