Exemplo n.º 1
0
int utimes(const char *pathname, const struct timeval tv[2]) {
    static int (*real_utimes)(const char *pathname, const struct timeval tv[2]) = NULL;
    const char *p;
    int ret;

    GET_PATH(utimes);
    if (p) {
	ret = real_utimes(p, tv);
	PUT_PATH(-1);
    }
    return real_utimes(pathname, tv);
}
Exemplo n.º 2
0
int utimes(const char *name, const struct timeval *tvp)
{
    if (smbw_path(name)) {
        return smbw_utimes(name, tvp);
    }

    return real_utimes(name, tvp);
}
Exemplo n.º 3
0
/* 
 * Copyright (c) 2010 Wind River Systems; see
 * guts/COPYRIGHT for information.
 *
 * static int
 * wrap_utimes(const char *path, const struct timeval *times) {
 *	int rc = -1;
 */
	rc = real_utimes(path, times);

/*	return rc;
 * }
 */