/usr/include/proc/devname.h is in libprocps3-dev 2:3.3.9-9+deb8u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #ifndef PROC_DEVNAME_H
#define PROC_DEVNAME_H
#include "procps.h"
#include "readproc.h"
EXTERN_C_BEGIN
#define ABBREV_DEV 1 /* remove /dev/ */
#define ABBREV_TTY 2 /* remove tty */
#define ABBREV_PTS 4 /* remove pts/ */
extern unsigned dev_to_tty(char *__restrict ret, unsigned chop, dev_t dev_t_dev, int pid, unsigned int flags);
extern int tty_to_dev(const char *__restrict const name);
EXTERN_C_END
#endif
|