coreutils.h 513 B

123456789101112131415161718192021222324
  1. /* vi: set sw=4 ts=4: */
  2. /*
  3. * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
  4. */
  5. #ifndef COREUTILS_H
  6. #define COREUTILS_H 1
  7. #if __GNUC_PREREQ(4,1)
  8. # pragma GCC visibility push(hidden)
  9. #endif
  10. typedef int (*stat_func)(const char *fn, struct stat *ps);
  11. int cp_mv_stat2(const char *fn, struct stat *fn_stat, stat_func sf);
  12. int cp_mv_stat(const char *fn, struct stat *fn_stat);
  13. mode_t getopt_mk_fifo_nod(char **argv);
  14. #if __GNUC_PREREQ(4,1)
  15. # pragma GCC visibility pop
  16. #endif
  17. #endif