diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-01-02 10:09:37 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-01-02 10:09:37 +0800 |
| commit | 1c8e37f63d413a559825020289178d442537449e (patch) | |
| tree | 9779a712b5eec91035272e7646eb6811979d7eab /src/ulib/iostream.cpp | |
| parent | d8eaa13f2efc1eeca4e5f230d5a2d535aaf27338 (diff) | |
| download | lume-1c8e37f63d413a559825020289178d442537449e.tar.gz lume-1c8e37f63d413a559825020289178d442537449e.tar.xz | |
dev(sell): add simple libc and implement shell
please see the log for detail.
Diffstat (limited to 'src/ulib/iostream.cpp')
| -rw-r--r-- | src/ulib/iostream.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ulib/iostream.cpp b/src/ulib/iostream.cpp new file mode 100644 index 0000000..d5394f9 --- /dev/null +++ b/src/ulib/iostream.cpp @@ -0,0 +1,8 @@ +#include "ulib/iostream" + +namespace std +{ + istream cin(stdin); + ostream cout(stdout); + ostream cerr(stderr); +} // namespace std |
