File and Path Functions

File and path functions are used to verify, return, and generate information about directories, file paths, names, and file names. The following table summarizes the file and path functions.

Table 26. File and Path Function Summary

Function Description
access() Verifies the existence of a path and/or file
basename() Returns the file name portion of a path
dirname() Returns the directory portion of a path
logmktemp() Generates a unique file name on the log host
mktemp() Generates a unique file name on the Policy Server host
stat() Returns information about a directory or file