| version 1.2, 2001/09/21 19:44:51 |
version 1.3, 2001/12/02 23:30:07 |
|
|
| /* |
/* |
| * $Log$ |
* $Log$ |
| |
* Revision 1.3 2001/12/02 23:30:07 jombik9 |
| |
* A lot of new functions added. |
| |
* Various improvements. |
| |
* |
| * Revision 1.2 2001/09/21 19:44:51 host8 |
* Revision 1.2 2001/09/21 19:44:51 host8 |
| * Added $Log$ keyword substitution |
* Added $Log$ |
| |
* Added Revision 1.3 2001/12/02 23:30:07 jombik9 |
| |
* Added A lot of new functions added. |
| |
* Added Various improvements. |
| |
* Added keyword substitution |
| * |
* |
| */ |
*/ |
| #ifndef _PROCESS_H |
#ifndef _PROCESS_H |
|
|
| |
|
| struct process |
struct process |
| { |
{ |
| /* Process ID number. */ |
/* System process ID number. */ |
| int pid; |
int pid; |
| |
|
| /* List of process names ended with NULL. */ |
/* List of process names ended with NULL. */ |
| Line 42 void process_destroy(struct process *pro |
|
| Line 50 void process_destroy(struct process *pro |
|
| int process_argv_init_by_array(struct process *proc, int size, char**array); |
int process_argv_init_by_array(struct process *proc, int size, char**array); |
| |
|
| /* Destroy argv of struct process. */ |
/* Destroy argv of struct process. */ |
| void process_argv_destroy(struct process *proc); |
/* void process_argv_destroy(struct process *proc); */ |
| |
|
| /* Print cmdline of process. */ |
/* Print cmdline of process. */ |
| void process_print_cmdline(struct process *proc); |
void process_print_cmdline(struct process *proc); |
| |
|
| |
/* Print names of process. */ |
| |
void process_print_names(struct process *proc); |
| |
|
| /* Print structure of process. */ |
/* Print structure of process. */ |
| void process_print_struct(struct process *proc); |
void process_print_struct(struct process *proc); |
| |
|
| /* Close second sides of pipes. */ |
/* Close second sides of pipes. */ |
| void process_close_2nd_sides_of_pipes( |
void process_close_2nd_sides_of_pipes(struct process *proc); |
| struct process *proc); |
|
| |
|
| |
|
| #endif /* #ifndef _PROCESS_H */ |
#endif /* #ifndef _PROCESS_H */ |
| |
|