Introduction
Introduction Statistics Contact Development Disclaimer Help
jobs.h - blind - suckless command-line video editing utility
git clone git://git.suckless.org/blind
Log
Files
Refs
README
LICENSE
---
jobs.h (509B)
---
1 /* See LICENSE file for copyright and license details. */
2 #if defined(HAVE_PRCTL)
3 # include <sys/prctl.h>
4 #endif
5
6 #if defined(HAVE_PRCTL) && defined(PR_SET_PDEATHSIG)
7 # define pdeath(SIGNAL) prctl(PR_SET_PDEATHSIG, SIGNAL);
8 #else
9 # define pdeath(SIGNAL)
10 #endif
11
12 #define efork_jobs(...) enfork_jobs(1, __VA_ARGS__)
13 #define ejoin_jobs(...) enjoin_jobs(1, __VA_ARGS__)
14
15 int enfork_jobs(int status, size_t *start, size_t *end, size_t jobs, pid…
16 void enjoin_jobs(int status, int is_master, pid_t *pids);
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.