# t-weof command

The t-weof command writes an EOF mark
at the current position on the attached magnetic media. It also causes
a flush of the last buffer written. This is important to ensure any
partially filled buffer was written onto the tape.

## Syntax

```
t-weof
```

## See also

- [t-read command](https://d3codex.com/tcl/t-read-command/)
- [t-wtlbl command](https://d3codex.com/tcl/t-wtlbl-command/)
- [Tape handling commands](https://d3codex.com/definitions/tape-handling-commands/)

---
Source: https://d3codex.com/tcl/t-weof-command/ - part of the D3Codex reference.
