procps 010114
This commit is contained in:
7
proc/devname.h
Normal file
7
proc/devname.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#define ABBREV_DEV 1 /* remove /dev/ */
|
||||
#define ABBREV_TTY 2 /* remove tty */
|
||||
#define ABBREV_PTS 4 /* remove pts/ */
|
||||
|
||||
int dev_to_tty(char *ret, int chop, int dev, int pid, unsigned int flags);
|
||||
|
||||
int tty_to_dev(char *name);
|
||||
Reference in New Issue
Block a user