int logout(const char *line);
Given the device line, the logout() function removes the entry from the corresponding /var/run/utmp system file.
Zero is returned if there was no entry to remove. A non-zero return value indicates success.