blob: 66b815daabb2877564b8e81ef44e74ef49fc8025 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
// license:BSD-3-Clause
// copyright-holders:Aaron Giles
//============================================================
//
// minidir.c - Minimal core directory access functions
//
//============================================================
#include "osdcore.h"
//============================================================
// osd_opendir
//============================================================
osd_directory *osd_opendir(const char *dirname)
{
// since there are no standard C library routines for walking directories,
// we always return an error here
return NULL;
}
//============================================================
// osd_readdir
//============================================================
const osd_directory_entry *osd_readdir(osd_directory *dir)
{
// since there are no standard C library routines for walking directories,
// we always return an error here
return NULL;
}
//============================================================
// osd_closedir
//============================================================
void osd_closedir(osd_directory *dir)
{
// since there are no standard C library routines for walking directories,
// we do nothing
}
//============================================================
// osd_is_absolute_path
//============================================================
int osd_is_absolute_path(const char *path)
{
// assume no for everything
return FALSE;
}
|