summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/frv/stat.c
blob: 611bddf6131c707e2f0259e66a942a4f4b62c305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Syscalls for uClibc
 *
 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
 *
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 */
/* Extracted from ../common/syscalls.c by Erik Andersen <andersen@codepoet.org>
 * Adapted to FR-V by Alexandre Oliva <aoliva@redhat.com>
 */

#include <sys/syscall.h>
#include <unistd.h>
#include <sys/stat.h>

/* libc_hidden_proto(stat) */
_syscall2(int, stat, const char *, file_name, struct stat *, buf)
libc_hidden_def(stat)