/** @file\r
\r
- Copyright (c) 2008-2009, Apple Inc. All rights reserved.\r
+ Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
\r
- All rights reserved. This program and the accompanying materials\r
+ This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
http://opensource.org/licenses/bsd-license.php\r
\r
\r
int \r
-Gasketpoll (struct pollfd *pfd, int nfds, int timeout)\r
+Gasketpoll (struct pollfd *pfd, unsigned int nfds, int timeout)\r
{\r
return GasketUintnUintnUintn (poll, (UINTN)pfd, nfds, timeout);\r
}\r
\r
\r
-int \r
+long\r
Gasketread (int fd, void *buf, int count)\r
{\r
return GasketUintnUintnUintn (read, fd, (UINTN)buf, count);\r
}\r
\r
\r
-int \r
+long\r
Gasketwrite (int fd, const void *buf, int count)\r
{\r
return GasketUintnUintnUintn (write, fd, (UINTN)buf, count);\r
}\r
\r
\r
-void *\r
+void \r
Gasketrewinddir (DIR *dir)\r
{\r
- return (void *)(UINTN)GasketUintn (rewinddir, (UINTN)dir);\r
+ GasketUintn (rewinddir, (UINTN)dir);\r
+ return;\r
}\r
\r
\r
\r
\r
VOID\r
-GasketPeCoffLoaderUnloadImageExtraAction (\r
+GasketUnixPeCoffUnloadImageExtraAction (\r
IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext\r
)\r
{\r