PR_GET_IO_FLUSHER(2const)

PR_GET_IO_FLUSHER2const

Get the io_flusher state

Usage

#include <linux/prctl.h>  /* Definition of PR_* constants */
#include <sys/prctl.h>

int prctl(PR_GET_IO_FLUSHER, 0L, 0L, 0L, 0L);

Library

Standard C library (libc, -lc)

Overview

Return the IO_FLUSHER state of the caller. A value of 1 indicates that the caller is in the IO_FLUSHER state; 0 indicates that the caller is not in the IO_FLUSHER state.

The calling process must have the CAP_SYS_RESOURCE capability.

Return value

On success, this call returns the boolean value described above. On error, -1 is returned, and errno is set to indicate the error.

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. Arch

Standards

Linux.

History

Linux 5.6.

From man-pages 6.19-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.