#include <stdio.h>
#include <stdlib.h>
#include "threadinfo.h"
Functions | |
int | check_list (thread_info_t **listp) |
Check that the ptr contains a valid list-element. | |
int | check_array (int tosize, struct thread_info_t ***arrp, int *size) |
int check_list | ( | thread_info_t ** | listp | ) |
Check that the ptr contains a valid list-element.
0 | ok | |
1 | allocating memory failed |
Referenced by get_thread_values().