This function is a copy of the pool functions in V39 and up of EXEC. In fact, if you are running in V39, this function will notice and call the EXEC function. This function works in V33 and up (1.2) Amiga system.
The C code interface is _LibDeletePool() and takes its arguments from the stack just like the C code interface for DeletePool() in amiga.lib. The assembly code interface is with the symbol _AsmDeletePool: and takes the parameters in registers with the additional parameter of ExecBase being in a6 which can be used from SAS/C 6 by a prototype of: