269 |
int length; /**< The length of the arguments array */ |
int length; /**< The length of the arguments array */ |
270 |
} *Command_T; |
} *Command_T; |
271 |
|
|
|
/** Defines filesystem device data */ |
|
|
typedef struct mydevice { |
|
|
long f_bsize; /**< Transfer block size */ |
|
|
long f_blocks; /**< Total data blocks in filesystem */ |
|
|
long f_blocksfree; /**< Free blocks available to non-superuser */ |
|
|
long f_blocksfreetotal; /**< Free blocks in filesystem */ |
|
|
long f_files; /**< Total file nodes in filesystem */ |
|
|
long f_filesfree; /**< Free file nodes in filesystem */ |
|
|
} *Device_T; |
|
|
|
|
272 |
/** Defines process data */ |
/** Defines process data */ |
273 |
typedef struct myprocess { |
typedef struct myprocess { |
274 |
char *name; /**< Process descriptive name */ |
char *name; /**< Process descriptive name */ |
384 |
void redirect_stdfd(); |
void redirect_stdfd(); |
385 |
pid_t getpgid(pid_t); |
pid_t getpgid(pid_t); |
386 |
int check_file(char *, char *, int); |
int check_file(char *, char *, int); |
|
char *get_device(char *, unsigned, char *); |
|
|
int get_fsusage(char *, Device_T); |
|
387 |
|
|
388 |
#endif |
#endif |