First public contribution.
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
17 #ifndef _AESELECTREENT_H_
18 #define _AESELECTREENT_H_
21 // This has not been included in sysreent.h as this requires e32cmn.h to be included, which cannot be done in .c sources
22 // This new file allows us to prevent the use of void* in the formal parameter of aselect and eselect
24 #include <sys/select.h>
26 IMPORT_C int _aselect_r(int *aErrno, int maxfd, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *tvptr, TRequestStatus* requeststatus);
28 IMPORT_C int _cancelaselect_r(int *aErrno, TRequestStatus* requeststatus);
30 IMPORT_C int _eselect_r(int *aErrno, int maxfd, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *tvptr,int numreqs, TRequestStatus* waitarray);
32 #endif // _AESELECTREENT_H_