# std.io: move getStdIn, getStdOut, getStdErr functions to fs.File · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/0b3f0124dc33403d329fb8ee63a93215d9af1f1e)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 0b3f0124dc33403d329fb8ee63a93215d9af1f1e

Requested commit: 0b3f0124dc33403d329fb8ee63a93215d9af1f1e

Commit: 0b3f0124dc33403d329fb8ee63a93215d9af1f1e

Tree: 3a94c321398ab21810b73c55411523d005b503fa

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.io: move getStdIn, getStdOut, getStdErr functions to fs.File

preparing to rearrange std.io namespace into an interface

how to upgrade:

std.io.getStdIn() -> std.fs.File.stdin()
std.io.getStdOut() -> std.fs.File.stdout()
std.io.getStdErr() -> std.fs.File.stderr()

```

## Parents

- [7c42517151cf06b67268aec3be715b3e303e014a](https://git.cafe/gitcafe/zig/commit/7c42517151cf06b67268aec3be715b3e303e014a?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/0b3f0124dc33403d329fb8ee63a93215d9af1f1e?format=markdown)
