1
0
This commit is contained in:
Daniel Tartavel 2020-05-09 16:41:03 +02:00
parent a0202ec99a
commit df4e9ec09d

3
main.c
View File

@ -151,9 +151,10 @@ int getpids(int pid, int exploded[])
pch = strtok( str, separator );
while( pch != NULL )
{
printf("%s\n", pch);
exploded[x++] = atoi( pch );
pch = strtok( NULL , separator );
printf("%s\n", pch);
}
fclose(fh);