Developers Guide To ACEDB 4_9 Utility Routines

> ### ACEDB Version 4_9

> # Developers Guide To ACEDB 4_9 Utility Routines

> ## utUnlimitResources()

> ### SYNOPSIS

>     #include <regular.h>

>     void utUnlimitResources(BOOL allow_user_abort) ;

> ### DESCRIPTION

> Use this function to raise process resource limits to the maximum permitted. Currently the routine only raises the stack and data size limits. Note that the "maximum permitted" is defined by the "hard" limit for the process and that this hard limit can only be raised by the superuser, for some limits this may require a kernel rebuild.

> If allow_user_abort is TRUE then the code will give the user the chance to exit if any of the following conditions are true:

> - maximum data size < 50MB
> - maximum stack size < 4MB

> The code aborts using messExit() so any user defined exit routines will be called.

> The code makes use of the getrlimit() & setrlimit() routines which are not part of the POSIX or ANSI C standards, so the routine will only have any effect on systems that support these routines.

> ### ACEDB Version 4_9

> Last modified: Wed Sep 5 15:47:05 BST 2001