libc: Add libgen.h stub functions (not implemented)
This commit is contained in:
parent
9aa96de61d
commit
46f60b192a
16
libs/libc/include/libgen.h
Normal file
16
libs/libc/include/libgen.h
Normal file
@ -0,0 +1,16 @@
|
||||
#ifndef _LIBGEN_H
|
||||
#define _LIBGEN_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
char* basename(char*); // Not implemented.
|
||||
char* dirname(char*); // Not implemented.
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
15
libs/libc/src/libgen.cpp
Normal file
15
libs/libc/src/libgen.cpp
Normal file
@ -0,0 +1,15 @@
|
||||
#include <libgen.h>
|
||||
#include <luna.h>
|
||||
|
||||
extern "C"
|
||||
{
|
||||
char* basename(char*)
|
||||
{
|
||||
NOT_IMPLEMENTED("basename");
|
||||
}
|
||||
|
||||
char* dirname(char*)
|
||||
{
|
||||
NOT_IMPLEMENTED("dirname");
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user