Update contrib.
1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
26 Support for asynchronous ioctl
27 There are no guarantees about when the parameters will be processed - some implementations may
28 process the parameters in both the ioctl() and the ioctl_complete() functions.
29 Do not wait on the TRequestStatus unless ioctl() returns 0.
31 int ioctl (int aFid, int aCmd, void* aParam, TRequestStatus& aStatus);
32 int ioctl_complete (int aFid, int aCmd, void* aParam, TRequestStatus& aStatus);
33 int ioctl_cancel (int aFid);
34 int _ioctl_r (struct _reent *r, int aFid, int aCmd, void* aParam, TRequestStatus& aStatus);
35 int _ioctl_complete_r (struct _reent *r, int aFid, int aCmd, void* aParam, TRequestStatus& aStatus);
36 int _ioctl_cancel_r (struct _reent *r, int aFid);
39 Support for crt0 variants
40 Do whatever is necessary to get the command line arguments, environment etc.
41 NB. This calls chdir(), so start the PosixServer before calling this if you want one.
43 IMPORT_C void __crt0(int& argc, char**& argv, char**& envp);
44 IMPORT_C void __crt0(int& argc, wchar_t**& argv, wchar_t**& envp);
46 #endif /* __ESTLIB_H__ */