xgselect.h 987 Bytes
Newer Older
1
/* Header for xg_select.
2

Paul Eggert's avatar
Paul Eggert committed
3
Copyright (C) 2009-2020 Free Software Foundation, Inc.
4 5 6 7 8

This file is part of GNU Emacs.

GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
9 10
the Free Software Foundation, either version 3 of the License, or (at
your option) any later version.
11 12 13 14 15 16 17

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
18
along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.  */
19 20 21 22 23 24 25

#ifndef XGSELECT_H
#define XGSELECT_H

#include "lisp.h"
#include "sysselect.h"

26 27
struct timespec;

Jan D's avatar
Jan D committed
28
extern int xg_select (int max_fds,
29
		      fd_set *rfds, fd_set *wfds, fd_set *efds,
30
		      struct timespec *timeout, sigset_t *sigmask);
31 32

#endif /* XGSELECT_H */