fpc/packages/base/libc/ulimith.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

17 lines
456 B
PHP

Const
UL_GETFSIZE = 1;
UL_SETFSIZE = 2;
__UL_GETMAXBRK = 3;
__UL_GETOPENMAX = 4;
function ulimit(__cmd:longint; args:array of const):longint;cdecl;external clib name 'ulimit';
function ulimit(__cmd:longint):longint;cdecl;varargs;external clib name 'ulimit';
{ ---------------------------------------------------------------------
Borland compatibility types
---------------------------------------------------------------------}
// Type