X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/439e15d09f6fa9271d3b49ef97194f0c80ebe161..8a8b7956b6de80decbfd3bff6d2ad6e5bb69b2bd:/util.h?ds=inline diff --git a/util.h b/util.h index cac3df0..4b82cef 100644 --- a/util.h +++ b/util.h @@ -14,5 +14,6 @@ extern char *estrdup(const char *str); failed_assert(#a, __FILE__, __LINE__); \ } while (0) extern void failed_assert(char *a, char *file, int line); +void pipe_spawn(char *buf, unsigned int len, Display *dpy, const char *cmd); +extern void spawn(Display *dpy, const char *cmd); extern void swap(void **p1, void **p2); -extern void spawn(Display *dpy, const char *shell, const char *cmd);