/
githubmirror
/
procps
Обзор
Документация
Войти
/
githubmirror
/
procps
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v3.3.16
proc/devname.h
18 строк
457 B
Craig Small
Change restrict to __restrict in public includes
09 янв 2012, 14:44
09 янв 2012, 14:44
a909f6e
Код
Авторство
О чём код?
#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