---
name: "io_dontwantwrite"
section: "3"
platform: "linux"
package: "libowfat-dev"
version: "0.32-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/io_dontwantwrite"
---

# io\_dontwantwrite(3)

signal that you do not want to write to a descriptor

## NAME

io\_dontwantwrite - signal that you do not want to write to a descriptor

## SYNTAX

**#include \<libowfat/io.h\>**

void **io\_dontwantwrite**(int64 fd);

## DESCRIPTION

io\_dontwantwrite tells the next io\_wait() that you don't want to write to this descriptor for now.  Call io\_wantwrite() again if you change your mind.

You have to have called io\_fd on the descriptor first (io\_pipe and io\_socketpair do this for you).  Waiting on descriptors only works for sockets, fifos and pipes.  It may also work on devices and TTYs, but that is platform dependent -- you should not rely on that.

## SEE ALSO

[io\_wait(3)](/io_wait/3.md), [io\_canwrite(3)](/io_canwrite/3.md), [io\_wantwrite(3)](/io_wantwrite/3.md), [io\_fd(3)](/io_fd/3.md)
