---
title: Std.IO.Unsafe
---

Low-level I/O primitives that bypass the Stdio effect.
Used internally by handler implementations.

## Functions

### print_stdout

```saga
fun print_stdout : String -> Unit
```

Writes a string directly to stdout, bypassing the Stdio effect.
Use this in custom Stdio handler implementations.

### print_stderr

```saga
fun print_stderr : String -> Unit
```

Writes a string directly to stderr, bypassing the Stdio effect.
Use this in custom Stdio handler implementations.

### read_stdin

```saga
fun read_stdin : Unit -> String
```

Reads a line from stdin, stripping the trailing newline.
Use this in custom Stdio handler implementations.

