2 * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
3 * See LICENSE file for license details.
16 bad_malloc(unsigned int size)
18 eprint("fatal: could not malloc() %u bytes\n", size);
24 emallocz(unsigned int size)
26 void *res = calloc(1, size);
34 eprint(const char *errstr, ...) {
38 vfprintf(stderr, errstr, ap);
46 char **argv = (char **)arg->argv;
53 close(ConnectionNumber(dpy));
55 execvp(argv[0], argv);
56 fprintf(stderr, "dwm: execvp %s", argv[0]);