コード例 #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);
}
コード例 #2
0
ファイル: wrapped.c プロジェクト: hynnet/ralink_sdk
int utimes(const char *name, const struct timeval *tvp)
{
    if (smbw_path(name)) {
        return smbw_utimes(name, tvp);
    }

    return real_utimes(name, tvp);
}
コード例 #3
0
ファイル: utimes.c プロジェクト: cgwalters/pseudo
/* 
 * 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;
 * }
 */