LibC: Add stubs for ungetc(), tcflush() and symlink()

This commit is contained in:
2024-08-05 01:48:24 +03:00
parent adadb10b15
commit 4d96ae56ac
3 changed files with 21 additions and 3 deletions

View File

@@ -1,3 +1,6 @@
#include <BAN/Assert.h>
#include <BAN/Debug.h>
#include <errno.h>
#include <sys/syscall.h>
#include <termios.h>
@@ -65,7 +68,11 @@ int tcdrain(int);
int tcflow(int, int);
int tcflush(int, int);
int tcflush(int fd, int queue_selector)
{
dwarnln("FIXME: tcflush({}, {})", fd, queue_selector);
ASSERT_NOT_REACHED();
}
int tcgetattr(int fildes, struct termios* termios)
{