c warnings
Hi,
these warnings correspond to the following functions. Unfortunately, i can't fix them and get a "segmentation fault". Can somebody help? Code:
kostas@vakhos:~/c_programming$ gcc -o res res.c Code:
|
Quote:
Code:
char get_cmdline_name(int proc_id) In get_stat_name you a have similar problem although this time you have two return paths one which returns a char pointer and one which returns a char(eof which shows a failure). You may fix this using the same mathod as the first but on failure return a 0/NULL. Also in get_stat_name you have a typo Quote:
Quote:
Quote:
|
All times are GMT -5. The time now is 07:28 PM. |