Tokens that begin with two underscores __* or an underscore and an uppercase letter _X* are reserved, so we should avoid those for our own include guards. The standard I'm settling on for foo.h is FOO_H_.
25 lines
706 B
C
25 lines
706 B
C
/*
|
|
* exec.h: header for exec.c
|
|
*
|
|
* Copyright 1990 Michael Sandrof
|
|
* Copyright 1997 EPIC Software Labs
|
|
* See the Copyright file for license information
|
|
*/
|
|
#ifndef EXEC_H_
|
|
#define EXEC_H_
|
|
|
|
void execcmd (char *, char *, char *, char *);
|
|
void do_processes (fd_set *);
|
|
int get_child_exit (pid_t);
|
|
void clean_up_processes (void);
|
|
int text_to_process (int, const char *, int);
|
|
void exec_server_delete (int);
|
|
void add_process_wait (int, const char *);
|
|
int get_process_index (char **); /* XXXX */
|
|
int is_valid_process (const char *);
|
|
int process_is_running (char *);
|
|
int logical_to_index (const char *logical);
|
|
void kill_process (int, int);
|
|
|
|
#endif /* EXEC_H_ */
|