]> git.sur5r.net Git - i3/i3/blob - i3bar/include/child.h
Add comments
[i3/i3] / i3bar / include / child.h
1 #ifndef CHILD_H_
2 #define CHILD_H_
3
4 #define STDIN_CHUNK_SIZE 1024
5
6 /*
7  * Start a child-process with the specified command and reroute stdin.
8  * We actually start a $SHELL to execute the command so we don't have to care
9  * about arguments and such
10  *
11  */
12 void start_child(char *command);
13
14 /*
15  * kill()s the child-prozess (if existend) and closes and
16  * free()s the stdin- and sigchild-watchers
17  *
18  */
19 void kill_child();
20
21 #endif