Luna/libc/include/sys/pstat.h

24 lines
383 B
C
Raw Permalink Normal View History

/* sys/pstat.h: The pstat() system call. */
#ifndef _SYS_PSTAT_H
#define _SYS_PSTAT_H
#include <bits/pstat.h>
#ifdef __cplusplus
extern "C"
{
#endif
/* Retrieve information about a process. */
pid_t pstat(pid_t pid, struct process* ps);
/* Get a string representing a process' state. */
const char* ps_state_name(int state);
#ifdef __cplusplus
}
#endif
#endif