1
0

adding setutent()

This commit is contained in:
Daniel Tartavel 2020-05-07 17:14:51 +02:00
parent 6ba7083faf
commit 037491c66c

1
main.c
View File

@ -25,6 +25,7 @@ int isinarray( int pid, int array[], int n )
int getutmp( int pid )
{
struct utmp * utmp;
setutent();
while ( (utmp = getutent()) == NULL )
{
printf("toto");