summaryrefslogtreecommitdiff
path: root/src/stat/lstat.c
blob: 3b22e620bd21399def24bf2ae70febf12a1a2b3e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include <sys/stat.h>
#include "syscall.h"
#include "libc.h"

int lstat(const char *path, struct stat *buf)
{
	return syscall2(__NR_lstat, (long)path, (long)buf);
}

LFS64(lstat);