aboutsummaryrefslogtreecommitdiffstats
path: root/guts/__fxstat.c
blob: e715f6ccde05a19ee9ff582478301d12c470076f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* 
 * int
 * wrap___fxstat(int ver, int fd, struct stat *buf) {
 *	int rc = -1;
 */

	struct stat64 buf64;
	/* populate buffer with complete data */
	real___fxstat(ver, fd, buf);
	/* obtain fake data */
	rc = wrap___fxstat64(ver, fd, &buf64);
	/* overwrite */
	pseudo_stat32_from64(buf, &buf64);

/*	return rc;
 * }
 */