Changeset ff9244a in mainline for uspace/lib/libc/generic/libc.c


Ignore:
Timestamp:
2007-12-26T22:16:21Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2f02aa17
Parents:
75ae31d
Message:

Move the open(), read() and write() provided by streams.c away so that
these functions won't clash with the real open(), read() and write(), which are
soon to be provided by a libvfs library. Applications can now use open_stdin(),
open_stdout(), read_stdin() and write_stdout(). Later, there might be an option
of providing a custom console file system, which will work similarly to how
streams' open(), read() and write() worked.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/generic/libc.c

    r75ae31d rff9244a  
    6969void __io_init(void)
    7070{
    71         open("stdin", 0);
    72         open("stdout", 0);
    73         open("stderr", 0);
     71        open_stdin();
     72        open_stdout();
    7473}
    7574
Note: See TracChangeset for help on using the changeset viewer.