fstat.c 492 B

123456789101112131415161718
  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 "../common/syscalls.h"
  12. #include <unistd.h>
  13. #include <sys/stat.h>
  14. libc_hidden_proto(fstat)
  15. _syscall2(int, fstat, int, fd, struct stat *, buf);
  16. libc_hidden_def(fstat)