debug
This commit is contained in:
parent
a0202ec99a
commit
df4e9ec09d
3
main.c
3
main.c
@ -151,9 +151,10 @@ int getpids(int pid, int exploded[])
|
|||||||
pch = strtok( str, separator );
|
pch = strtok( str, separator );
|
||||||
while( pch != NULL )
|
while( pch != NULL )
|
||||||
{
|
{
|
||||||
|
printf("%s\n", pch);
|
||||||
exploded[x++] = atoi( pch );
|
exploded[x++] = atoi( pch );
|
||||||
pch = strtok( NULL , separator );
|
pch = strtok( NULL , separator );
|
||||||
printf("%s\n", pch);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fclose(fh);
|
fclose(fh);
|
||||||
|
Reference in New Issue
Block a user