summaryrefslogtreecommitdiff
path: root/ecos/packages/net/tcpip/current/include/sys/bsdselect.h
blob: 127f07cd795c366050887737137973ff0fbb7787 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//==========================================================================
//
//      include/sys/select.h
//
//      Support for 'select()' system call
//
//==========================================================================
// ####BSDALTCOPYRIGHTBEGIN####                                             
// -------------------------------------------                              
// Portions of this software may have been derived from OpenBSD             
// or other sources, and if so are covered by the appropriate copyright     
// and license included herein.                                             
// -------------------------------------------                              
// ####BSDALTCOPYRIGHTEND####                                               
//==========================================================================
//#####DESCRIPTIONBEGIN####
//
// Author(s):    gthomas
// Contributors: gthomas
// Date:         2000-01-10
// Purpose:      
// Description:  
//              
//
//####DESCRIPTIONEND####
//
//==========================================================================

#ifndef _SYS_SELECT_H_
#define	_SYS_SELECT_H_

#include <pkgconf/system.h>

#ifdef CYGPKG_IO_FILEIO

#include <cyg/io/file.h>

void	selwakeup __P((struct selinfo *));

#else

/*
 * Used to maintain information about processes that wish to be
 * notified when I/O becomes possible.
 */
struct selinfo {
    void *unused;
};

void	selrecord __P((void *selector, struct selinfo *));
void	selwakeup __P((struct selinfo *));

#endif

#endif /* !_SYS_SELECT_H_ */