Oracle iPlanet Web Proxy Server 4.0.14 NSAPI Developer's Guide

util_move_file

The util_move_dir function moves a file, preserving permissions, creation time, and last-access time. If renaming fails, for example, if the source and destination are on two different file systems, the function copies the file.

Syntax

#include <libproxy/util.h>
int util_move_file (char *src, char *dst);

Returns

Parameters

char *src is the fully qualified name of the source file.

char *dst is the fully qualified name of the destination file.

See Also

util_move_dir