Mercurial > hg
comparison contrib/chg/procutil.h @ 30693:baee0f47b533
chg: add procutil.h
This patch adds a formal header procutil.h for procutil.c, and changes
Makefile to build procutil.c independently.
author | Jun Wu <quark@fb.com> |
---|---|
date | Mon, 02 Jan 2017 14:57:14 +0000 |
parents | |
children | ac5527021097 |
comparison
equal
deleted
inserted
replaced
30692:23ddd43ba866 | 30693:baee0f47b533 |
---|---|
1 /* | |
2 * Utilities about process handling - signal and subprocess (ex. pager) | |
3 * | |
4 * Copyright (c) 2011 Yuya Nishihara <yuya@tcha.org> | |
5 * | |
6 * This software may be used and distributed according to the terms of the | |
7 * GNU General Public License version 2 or any later version. | |
8 */ | |
9 | |
10 #ifndef PROCUTIL_H_ | |
11 #define PROCUTIL_H_ | |
12 | |
13 #include <unistd.h> | |
14 | |
15 void restoresignalhandler(void); | |
16 void setupsignalhandler(pid_t pid, pid_t pgid); | |
17 | |
18 pid_t setuppager(const char *pagercmd); | |
19 void waitpager(void); | |
20 | |
21 #endif /* PROCUTIL_H_ */ |