Sun Java System Web Proxy Server 4.0.3 2006Q2 NSAPI Developer's Guide

util_move_dir

The util_move_dir function moves a directory, preserving permissions, creation times, and last-access times. It attempts to do this by renaming, but if that fails (for example, if the source and destination are on two different file systems), it copies the directory.

Syntax

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

Returns

Parameters

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

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

See also

util_move_file