aewl

diff util.h @ 6:e0cefb3981c8

implemented pipe_spawn
author Anselm R. Garbe <garbeam@wmii.de>
date Tue, 11 Jul 2006 11:10:05 +0200
parents e5018cae273f
children ea9c08ec4b48
line diff
     1.1 --- a/util.h	Mon Jul 10 22:16:48 2006 +0200
     1.2 +++ b/util.h	Tue Jul 11 11:10:05 2006 +0200
     1.3 @@ -14,5 +14,6 @@
     1.4  			failed_assert(#a, __FILE__, __LINE__); \
     1.5  	} while (0)
     1.6  extern void failed_assert(char *a, char *file, int line);
     1.7 +void pipe_spawn(char *buf, unsigned int len, Display *dpy, const char *cmd);
     1.8 +extern void spawn(Display *dpy, const char *cmd);
     1.9  extern void swap(void **p1, void **p2);
    1.10 -extern void spawn(Display *dpy, const char *shell, const char *cmd);