blob: 467cd2948c79a1b475644c77f93ee260d5b7978f (
plain)
1
2
3
4
5
6
7
8
9
10
|
#ifndef PROC_DEVNAME_H
#define PROC_DEVNAME_H
#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);
#endif
|