summaryrefslogblamecommitdiff
path: root/src/stat/fstat.c
blob: 5f6433014d68d55a29c41ed5aadcb0b7aa18b82d (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                     
#include <sys/stat.h>
#include "syscall.h"
#include "libc.h"

int fstat(int fd, struct stat *buf)
{
	return syscall2(__NR_fstat64, fd, (long)buf);
}

LFS64(fstat);