Sun Java System Web Server 6.1 SP7 NSAPI Programmer's Guide


The util_can_exec function checks that a specified file can be executed, returning either a 1 (executable) or a 0. The function checks if the file can be executed by the user with the given user and group ID.

Use this function before executing a program using the exec system call.