aboutsummaryrefslogtreecommitdiff
path: root/aufgabe3/conv.c
blob: 35b7d33453b58a77d7f823e8f04417acb7e9ce70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * vim:ts=4:sw=4:expandtab
 *
 */
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>

#include "queue.h"

void conv() {
    int random_number = 0;

    sprintf(stderr, "conv() was started");

    for (;;) {
        rand();
    }
}

void conv_cleanup() {
    printf("conv cleanup\n");
    _exit(EXIT_SUCCESS);
}