fstat64.c 531 B

1234567891011121314151617181920
  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. #ifdef __UCLIBC_HAS_LFS__
  15. /* libc_hidden_proto(fstat64) */
  16. _syscall2(int, fstat64, int, fd, struct stat64 *, buf)
  17. libc_hidden_def(fstat64)
  18. #endif