unix.c 603 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Unix support routines for PhysicsFS.
  3. *
  4. * Please see the file LICENSE in the source's root directory.
  5. *
  6. * This file written by Ryan C. Gordon.
  7. */
  8. #include <stdio.h>
  9. #include <stdlib.h>
  10. #include <pthread.h>
  11. const char *__PHYSFS_PlatformDirSeparator = "/";
  12. char **__PHYSFS_platformDetectAvailableCDs(void)
  13. {
  14. } /* __PHYSFS_detectAvailableCDs */
  15. char *__PHYSFS_platformCalcBaseDir(char *argv0)
  16. {
  17. return(NULL);
  18. } /* __PHYSFS_platformCalcBaseDir */
  19. int __PHYSFS_platformGetThreadID(void)
  20. {
  21. return((int) pthread_self());
  22. } /* __PHYSFS_platformGetThreadID */
  23. /* end of unix.c ... */