LibC: Add stubs for ungetc(), tcflush() and symlink()
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#include <BAN/Assert.h>
|
||||
#include <BAN/Debug.h>
|
||||
#include <kernel/Syscall.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <pwd.h>
|
||||
#include <stdarg.h>
|
||||
@@ -534,3 +536,9 @@ unsigned alarm(unsigned seconds)
|
||||
setitimer(ITIMER_REAL, &value, &ovalue);
|
||||
return ovalue.it_value.tv_sec;
|
||||
}
|
||||
|
||||
int symlink(const char* path1, const char* path2)
|
||||
{
|
||||
dwarnln("FIXME: symlink({}, {})", path1, path2);
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user