/
githubmirror
/
glibc
Обзор
Документация
Войти
/
githubmirror
/
glibc
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
include/sys/poll.h
25 строк
592 B
Adhemerval Zanella
Linux: Add ppoll fortify symbol for 64 bit time_t (BZ# 29746)
08 ноя 2022, 19:37
08 ноя 2022, 19:37
2e274cd
Код
Авторство
О чём код?
#ifndef _SYS_POLL_H # include <io/sys/poll.h> #ifndef _ISOMAC #include <include/struct___timespec64.h> extern int __poll (struct pollfd *__fds, unsigned long int __nfds, int __timeout); libc_hidden_proto (__poll) libc_hidden_proto (ppoll) # if __TIMESIZE == 64 # define __ppoll64 ppoll # define __ppoll64_chk __ppoll_chk # else # include <time.h> # include <signal.h> extern int __ppoll64 (struct pollfd *fds, nfds_t nfds, const struct __timespec64 *timeout, const sigset_t *sigmask); libc_hidden_proto (__ppoll64) # endif #endif #endif