| Allen Van Der Ross on Mon, 10 Mar 2003 11:06:30 +0200 (SAST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| [Linux dev] Runlevel from utmp |
Hi, How do I get the runlevel from utmp? I call getutid() with a utmp struct where ut_type == RUN_LVL. I cannot figure out where in the returning struct, I can detect the runlevel? Or am I going about this the wrong way? Thanks, Allen.