mirror of
https://github.com/osmarks/ngircd.git
synced 2025-04-27 21:23:21 +00:00
Doxygen'ify proc.h
This commit is contained in:
parent
af6ac0fa41
commit
5858dc3886
@ -19,11 +19,14 @@
|
|||||||
|
|
||||||
/** Process status. This struct must not be accessed directly! */
|
/** Process status. This struct must not be accessed directly! */
|
||||||
typedef struct _Proc_Stat {
|
typedef struct _Proc_Stat {
|
||||||
pid_t pid; /* PID of the child process or 0 if none */
|
pid_t pid; /**< PID of the child process or 0 if none */
|
||||||
int pipe_fd; /* Pipe file descriptor or -1 if none */
|
int pipe_fd; /**< Pipe file descriptor or -1 if none */
|
||||||
} PROC_STAT;
|
} PROC_STAT;
|
||||||
|
|
||||||
|
/** Return true if sub-process is still running */
|
||||||
#define Proc_InProgress(x) ((x)->pid != 0)
|
#define Proc_InProgress(x) ((x)->pid != 0)
|
||||||
|
|
||||||
|
/** Return file descriptor of pipe to sub-process (or -1 if none open) */
|
||||||
#define Proc_GetPipeFd(x) ((x)->pipe_fd)
|
#define Proc_GetPipeFd(x) ((x)->pipe_fd)
|
||||||
|
|
||||||
GLOBAL void Proc_InitStruct PARAMS((PROC_STAT *proc));
|
GLOBAL void Proc_InitStruct PARAMS((PROC_STAT *proc));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user