lstat.c 475 B

1234567891011121314151617
  1. /*
  2. * Syscalls for uClibc
  3. *
  4. * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
  5. *
  6. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  7. */
  8. /* Extracted from ../common/syscalls.c by Erik Andersen <andersen@codepoet.org>
  9. * Adapted to FR-V by Alexandre Oliva <aoliva@redhat.com>
  10. */
  11. #include <sys/syscall.h>
  12. #include <unistd.h>
  13. #include <sys/stat.h>
  14. _syscall2(int, lstat, const char *, file_name, struct stat *, buf)
  15. libc_hidden_def(lstat)