* GNU Library General Public License for more details.
*/
-__BEGIN_DECLS
-
extern const int number_of_signals;
extern const char *get_sigtable_name(int row);
extern void unix_print_signals(void);
-__END_DECLS
#endif
#ifndef PROC_DEVNAME_H
#define PROC_DEVNAME_H
-#include <features.h>
-
-__BEGIN_DECLS
-
#define ABBREV_DEV 1 /* remove /dev/ */
#define ABBREV_TTY 2 /* remove tty */
#define ABBREV_PTS 4 /* remove pts/ */
unsigned dev_to_tty(char *__restrict ret, unsigned chop, dev_t dev_t_dev, int pid, unsigned int flags);
-__END_DECLS
#endif
#ifndef PROCPS_PROC_ESCAPE_H
#define PROCPS_PROC_ESCAPE_H
-#include <features.h>
#include "readproc.h"
-__BEGIN_DECLS
-
#define ESC_ARGS 0x1 // try to use cmdline instead of cmd
#define ESC_BRACKETS 0x2 // if using cmd, put '[' and ']' around it
int escape_command(char *__restrict const outbuf, const proc_t *__restrict const pp, int bytes, int *cells, unsigned flags);
-__END_DECLS
#endif
#ifndef PROCPS_NUMA_H
#define PROCPS_NUMA_H
-#include <features.h>
-
-__BEGIN_DECLS
-
void numa_init (void);
void numa_uninit (void);
extern int (*numa_max_node) (void);
extern int (*numa_node_of_cpu) (int);
-__END_DECLS
-
#endif
#ifndef PROCPS_PROC_PWCACHE_H
#define PROCPS_PROC_PWCACHE_H
-#include <features.h>
#include <sys/types.h>
-__BEGIN_DECLS
-
// used in pwcache and in readproc to set size of username or groupname
#define P_G_SZ 33
char *pwcache_get_user(uid_t uid);
char *pwcache_get_group(gid_t gid);
-__END_DECLS
-
#endif
// the following is development only, forcing display of "[ duplicate ENUM ]" strings
// #define FALSE_THREADS /* set most child string fields to NULL */
-__BEGIN_DECLS
-
// This is to help document a transition from pid to tgid/tid caused
// by the introduction of thread support. It is used in cases where
int look_up_our_self(proc_t *p);
void closeproc(PROCTAB* PT);
-__END_DECLS
#endif
#ifndef PROCPS_PROC_WCHAN_H
#define PROCPS_PROC_WCHAN_H
-#include <features.h>
-
-__BEGIN_DECLS
-
extern const char * lookup_wchan (int pid);
-__END_DECLS
-
#endif