procps/proc/devname.h

8 lines
278 B
C
Raw Normal View History

2002-02-02 04:17:29 +05:30
#define ABBREV_DEV 1 /* remove /dev/ */
#define ABBREV_TTY 2 /* remove tty */
#define ABBREV_PTS 4 /* remove pts/ */
2002-05-30 12:38:15 +05:30
extern int dev_to_tty(char *ret, int chop, int dev, int pid, unsigned int flags);
2002-02-02 04:17:29 +05:30
2002-05-30 12:38:15 +05:30
extern int tty_to_dev(char *name);