view packages/net/tcpip/current/include/sys/bsdselect.h @ 2729:74dbf4c3f2e1 after-copyright-change-20090129

Update all copyright banners to reflect FSF ownership; fix and improve licence text.
author jlarmour
date Thu, 29 Jan 2009 17:47:46 +0000
parents e0c0827131d1
children
line wrap: on
line source

//==========================================================================
//
//      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_ */