DPNS_SETRATIME(3) | DPNS Library Functions | DPNS_SETRATIME(3) |
dpns_setratime - set replica last access (read) date
#include <sys/types.h>
#include "dpns_api.h"
int dpns_setratime (const char *sfn)
dpns_setratime set the replica last access (read) date to the current time and increments the counter of accesses to the replica. This function should be called everytime a file replica is accessed.
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.
$Date: 2005/04/27 09:11:24 $ | DPNS |