Open SCAP Library: process58-devname.h Source File

Open SCAP Library

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

process58-devname.h
1
2 #ifndef PROCESS58_DEVNAME_H
3 #define PROCESS58_DEVNAME_H
4
5 #define ABBREV_DEV 1 /* remove /dev/ */
6 #define ABBREV_TTY 2 /* remove tty */
7 #define ABBREV_PTS 4 /* remove pts/ */
8
9 extern unsigned dev_to_tty(char *__restrict ret, unsigned chop, dev_t dev_t_dev, int pid, unsigned int flags);
10
11 #endif
12