Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does getlogin() always return NULL on my Linux box?

Box linux null Return
0
Posted

Why does getlogin() always return NULL on my Linux box?

0

{UD} The GNU C library has a format for the UTMP and WTMP file which differs from what your system currently has. It was extended to fulfill the needs of the next years when IPv6 is introduced. The record size is different and some fields have different positions. The files written by functions from the one library cannot be read by functions from the other library. Sorry, but this is what a major release is for. It’s better to have a cut now than having no means to support the new techniques later.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123