Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
alexbevi
GitHub Repository: alexbevi/BizHawk
Path: blob/master/waterbox/libc/functions/_PDCLIB/_PDCLIB_open.c
2 views
1
/* _PDCLIB_open( char const * const, int )
2
3
This file is part of the Public Domain C Library (PDCLib).
4
Permission is granted to use, modify, and / or redistribute at will.
5
*/
6
7
/* This is a stub implementation of open.
8
*/
9
10
#include <stdio.h>
11
#include <errno.h>
12
13
#ifndef REGTEST
14
#include "_PDCLIB_glue.h"
15
16
bool _PDCLIB_open( _PDCLIB_fd_t * pFd, const _PDCLIB_fileops_t ** pOps,
17
char const * const filename, unsigned int mode )
18
{
19
errno = ENOTSUP;
20
return false;
21
}
22
23
#endif
24
25
#ifdef TEST
26
#include "_PDCLIB_test.h"
27
28
#include <stdlib.h>
29
#include <string.h>
30
31
int main( void )
32
{
33
return TEST_RESULTS;
34
}
35
36
#endif
37
38
39