fpc/packages/base/libc/sioctlh.inc
Jonas Maebe 0a23786605 - reverted r4880 (wrong varargs reform) and r4838 (wrong removal of
varargs/array of const overloads)
  * arrayconstructor and array of const are no longer compatible with
    the extra varargs parameters (so overloaded varargs and array of
    const cdecl functions can be distinguished)
  * fixed tprintf2 for the correct varargs syntax

git-svn-id: trunk@4909 -
2006-10-14 17:39:00 +00:00

11 lines
495 B
PHP

function ioctl(__fd:longint; __request:dword; args:array of const):longint;cdecl;external clib name 'ioctl';
function ioctl(__fd:longint; __request:dword):longint;cdecl;varargs;external clib name 'ioctl';
{ ---------------------------------------------------------------------
Borland compatibility types
---------------------------------------------------------------------}
// Type
function ioctl(__fd:longint; __request:dword; args:pointer):longint;cdecl;external clib name 'ioctl';