//==========================================================================
|
//==========================================================================
|
//
|
//
|
// include/sys/select.h
|
// include/sys/select.h
|
//
|
//
|
// Support for 'select()' system call
|
// Support for 'select()' system call
|
//
|
//
|
//==========================================================================
|
//==========================================================================
|
//####BSDCOPYRIGHTBEGIN####
|
//####BSDCOPYRIGHTBEGIN####
|
//
|
//
|
// -------------------------------------------
|
// -------------------------------------------
|
//
|
//
|
// Portions of this software may have been derived from OpenBSD or other sources,
|
// Portions of this software may have been derived from OpenBSD or other sources,
|
// and are covered by the appropriate copyright disclaimers included herein.
|
// and are covered by the appropriate copyright disclaimers included herein.
|
//
|
//
|
// -------------------------------------------
|
// -------------------------------------------
|
//
|
//
|
//####BSDCOPYRIGHTEND####
|
//####BSDCOPYRIGHTEND####
|
//==========================================================================
|
//==========================================================================
|
//#####DESCRIPTIONBEGIN####
|
//#####DESCRIPTIONBEGIN####
|
//
|
//
|
// Author(s): gthomas
|
// Author(s): gthomas
|
// Contributors: gthomas
|
// Contributors: gthomas
|
// Date: 2000-01-10
|
// Date: 2000-01-10
|
// Purpose:
|
// Purpose:
|
// Description:
|
// Description:
|
//
|
//
|
//
|
//
|
//####DESCRIPTIONEND####
|
//####DESCRIPTIONEND####
|
//
|
//
|
//==========================================================================
|
//==========================================================================
|
|
|
#ifndef _SYS_SELECT_H_
|
#ifndef _SYS_SELECT_H_
|
#define _SYS_SELECT_H_
|
#define _SYS_SELECT_H_
|
|
|
#include <pkgconf/system.h>
|
#include <pkgconf/system.h>
|
|
|
#ifdef CYGPKG_IO_FILEIO
|
#ifdef CYGPKG_IO_FILEIO
|
|
|
#include <cyg/io/file.h>
|
#include <cyg/io/file.h>
|
|
|
void selwakeup __P((struct selinfo *));
|
void selwakeup __P((struct selinfo *));
|
|
|
#else
|
#else
|
|
|
/*
|
/*
|
* Used to maintain information about processes that wish to be
|
* Used to maintain information about processes that wish to be
|
* notified when I/O becomes possible.
|
* notified when I/O becomes possible.
|
*/
|
*/
|
struct selinfo {
|
struct selinfo {
|
void *unused;
|
void *unused;
|
};
|
};
|
|
|
void selrecord __P((void *selector, struct selinfo *));
|
void selrecord __P((void *selector, struct selinfo *));
|
void selwakeup __P((struct selinfo *));
|
void selwakeup __P((struct selinfo *));
|
|
|
#endif
|
#endif
|
|
|
#endif /* !_SYS_SELECT_H_ */
|
#endif /* !_SYS_SELECT_H_ */
|
|
|