Sun Java System Web Proxy Server 4.0.11 NSAPI Developer's Guide

UNIX Only

The util_can_exec function checks that a specified file can be executed, returning either a 1 (executable) or a 0. The function checks whether 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.