devctl_process_running(9)

devctl_process_running9

Returns true when devctl has a consumer process running

Usage

#include <sys/devctl.h>

bool

devctl_process_running(void);

Overview

The devctl_process_running call returns true when a process has the devctl device open for reading, and false otherwise. One can assume from this that the default devd(8) or similar is running when true is returned. Some subsystems will send a message and allow userland to do something before proceeding with a default action if there's a timeout. This call allows those subsystems to do the default action right away when no process is running.

Releases

15 releases since FreeBSD 13.0-RELEASE; the text changed 1 time.

  1. 13.0–13.2
  2. 13.3–16.0

Authors

This manual page was written by M. Warner Losh

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.