# copy_file_range: fix zigification of TXTBSY · gitcafe/zig

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

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

Visibility: public

Requested revision: 9038528187932babc86558ec343511c635446a28

Requested commit: 9038528187932babc86558ec343511c635446a28

Commit: 9038528187932babc86558ec343511c635446a28

Tree: d55c4d92ef5e1a81a955a4cb33414237ce8f9daa

Author: Motiejus Jakštys

Committer: Veikka Tuominen

## Message

```
copy_file_range: fix zigification of TXTBSY

From `copy_file_range(2)` errors:

    ETXTBSY
           Either fd_in or fd_out refers to an active swap file.

Same error will be used in the upcoming `ioctl_ficlonerange(2)`:

    ETXTBSY
           One of the files is a swap file.  Swap files cannot share storage.

```

## Parents

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

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