summary refs log tree commit diff stats
path: root/doc/basicopt.txt
Commit message (Collapse)AuthorAgeFilesLines
* fixes #1868Araq2015-03-121-0/+1
|
* improved --debugger switch; updated release planAraq2015-02-271-1/+1
|
* tables work in 'const' sections; echo supports 'nil' strings; minor cleanupsAraq2015-02-091-1/+0
|
* clarify single letter option requirementsJoseph Poirier2015-01-021-1/+1
|
* Fix paragraph break issue in nimc.txt. Add spacing to command line options ↵Nick Greenfield2014-12-211-2/+3
| | | | table.
* merged things from develAraq2014-09-121-0/+2
|\
| * be explicit about single letter optionsAraq2014-09-111-0/+2
| |
* | Nimrod renamed to NimAraq2014-08-281-2/+2
|/
* distinguish between 'defined' and 'declared'Araq2014-08-111-0/+1
|
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-161-0/+0
|
* doc2 improvementsAraq2012-06-241-1/+1
|
* New algorithm for locating and loading nimrod config files.Zahary Karadjov2011-11-251-1/+2
| | | | Some new options added to the compiler (see news.txt for details)
* --stdout support; idetools implementedAraq2011-02-251-6/+6
|
* REPL improvementsAraq2011-02-131-4/+2
|
* changes to threads; --recursivePath supportAraq2011-01-291-1/+1
|
* tiny C support; cosmetic improvements for the docsAraq2010-08-281-0/+37
pan class="k">const char *errstr, ...) { va_list ap; va_start(ap, errstr); vfprintf(stderr, errstr, ap); va_end(ap); exit(EXIT_FAILURE); } void * erealloc(void *ptr, unsigned int size) { void *res = realloc(ptr, size); if(!res) eprint("fatal: could not malloc() %u bytes\n", size); return res; } void spawn(Arg *arg) { static char *shell = NULL; if(!shell && !(shell = getenv("SHELL"))) shell = "/bin/sh"; if(!arg->cmd) return; /* The double-fork construct avoids zombie processes and keeps the code * clean from stupid signal handlers. */ if(fork() == 0) { if(fork() == 0) { if(dpy) close(ConnectionNumber(dpy)); setsid(); execl(shell, shell, "-c", arg->cmd, (char *)NULL); fprintf(stderr, "dwm: execl '%s -c %s'", shell, arg->cmd); perror(" failed"); } exit(0); } wait(0); }