fixed ps, readlink
This commit is contained in:
parent
ec99d14ad6
commit
5d24364332
6 changed files with 96 additions and 66 deletions
16
include/libmu/proc_parser.h
Normal file
16
include/libmu/proc_parser.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
#ifndef _PROC_PARSER
|
||||
#define _PROC_PARSER
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <pwd.h>
|
||||
|
||||
struct {
|
||||
char *cmdline;
|
||||
char state;
|
||||
long nice;
|
||||
} mu_proc;
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue