Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 1.03 KB

unix.c

File metadata and controls

58 lines (38 loc) · 1.03 KB
 
Jul 5, 2001
Jul 5, 2001
1
2
3
4
5
6
7
8
9
10
11
12
/*
* Unix support routines for PhysicsFS.
*
* Please see the file LICENSE in the source's root directory.
*
* This file written by Ryan C. Gordon.
*/
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
Jul 6, 2001
Jul 6, 2001
13
14
15
16
#define __PHYSICSFS_INTERNAL__
#include "physfs_internal.h"
Jul 5, 2001
Jul 5, 2001
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
const char *__PHYSFS_PlatformDirSeparator = "/";
char **__PHYSFS_platformDetectAvailableCDs(void)
{
} /* __PHYSFS_detectAvailableCDs */
char *__PHYSFS_platformCalcBaseDir(char *argv0)
{
return(NULL);
} /* __PHYSFS_platformCalcBaseDir */
int __PHYSFS_platformGetThreadID(void)
{
return((int) pthread_self());
} /* __PHYSFS_platformGetThreadID */
Jul 6, 2001
Jul 6, 2001
35
36
37
38
39
40
int __PHYSFS_platformStricmp(const char *str1, const char *str2)
{
return(strcasecmp(str1, str2));
} /* __PHYSFS_platformStricmp */
Jul 6, 2001
Jul 6, 2001
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
int __PHYSFS_platformIsSymlink(const char *fname)
{
} /* __PHYSFS_platformIsSymlink */
char *__PHYSFS_platformGetUserName(void)
{
} /* __PHYSFS_platformGetUserName */
char *__PHYSFS_platformGetUserDir(void);
{
} /* __PHYSFS_platformGetUserDir */
Jul 5, 2001
Jul 5, 2001
57
/* end of unix.c ... */