You mean write code that would do the same thing that who does? Why would you need to do that when it is already part of just about all (if not all) flavors of Unix? Sort of like reinventing the wheel, isn't it?
well you are soo rite.....its like i need to know how to do it..i know i have to open the utmpx file and read the structure..but i dont know how to implement..it..i am trying this for hours..but no luck..so if you can help me with this..i would appriciate it
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.