readdir64_r.c 349 B

12345678910111213141516
  1. /*
  2. * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
  3. *
  4. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  5. */
  6. #include <_lfs_64.h>
  7. #include <dirent.h>
  8. #if __WORDSIZE != 64
  9. # define __READDIR_R readdir64_r
  10. # define __DIRENT_TYPE struct dirent64
  11. # define __GETDENTS __getdents64
  12. # include "readdir_r.c"
  13. #endif