summaryrefslogtreecommitdiff
path: root/popen3/README
blob: e614fc410ccfed6d601f605bf805c12574d226da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
example usage:

	#include <unistd.h>
	#include "popen3.h"

	int pipes[3];
	pid_t pid;
	int ret;

	const char *cmd = "cat -n";

	pid = popen3(cmd, pipes);

	/*
	 *  - write to pipes[0] will go to stdin of cat
	 *  - read from pipes[1] to get stdout of cat
	 *  - read from pipes[2] to get stderr of ct
	 */

	ret = pclose3(pid, pipes);
'deletions'>-3/+3 2016-04-13locking/rwsem: Introduce basis for down_write_killable()Michal Hocko1-0/+12 2016-04-13locking/rwsem: Get rid of __down_write_nested()Michal Hocko1-6/+1 2015-10-06locking/rwsem: Use acquire/release semanticsDavidlohr Bueso1-7/+14 2014-03-14asm-generic: rwsem: de-PPCify rwsem.hWill Deacon1-5/+5 2011-11-01Hexagon: Add locking types and functionsRichard Kuo1-0/+132 nux/net-next.git/commit/kernel/bpf/inode.c?id=92117d8443bc5afacc8d5ba82e541946310f106e'>bpf: fix refcnt overflowAlexei Starovoitov1-3/+4 2016-03-27bpf: reject invalid names right in ->lookup()Al Viro1-29/+8 2015-12-12bpf, inode: allow for rename and link opsDaniel Borkmann1-0/+20 2015-11-25bpf: fix clearing on persistent program array mapsDaniel Borkmann1-3/+3 2015-11-02bpf: add support for persistent maps/progsDaniel Borkmann1-0/+387