File: aesession.c

package info (click to toggle)
aewm 1.3.12-3
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 356 kB
  • sloc: ansic: 2,557; makefile: 77; sh: 20
file content (13 lines) | stat: -rw-r--r-- 410 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* aewm - Copyright 1998-2007 Decklin Foster <decklin@red-bean.com>.
 * This program is free software; please see LICENSE for details. */

#include <stdlib.h>
#include <unistd.h>
#include <sys/wait.h>

int main(void)
{
    /* ``I gained nothing at all from Supreme Enlightenment, and for that very
     * reason it is called Supreme Enlightenment.'' -- Buddha */
    for (;;) if (wait(NULL) == -1) sleep(1);
}