alive(3abz)

alive3abz

Check if a process is executing.

Usage

#include <abz/alive.h>

int alive(const char *name);

Libraries

Abz Library (-labz), Debug Library (-ldebug)

Overview

The alive() function check if any process with name name is currently executing.

Return values

The alive() function returns 1 if a process with name name is executing, 0 if not, and -1 if some error occurred.

Check errno to see what error occurred.

Notes

None of the libabz routines are thread-safe. I'm not planning to change this either! For more information, please see http://threading.2038bug.com/

Author

Written by Abraham vd Merwe <[email protected]>

From libabz0-dev 0.5.1 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.