From 0f30d227497418c6d3bef7d52244407e30454504 Mon Sep 17 00:00:00 2001 From: Kacper Date: Mon, 22 Dec 2025 23:27:56 +0100 Subject: Added c11 threads, fixed some locks and add *_unlocked functions --- lib/libc/stdio/stdin.c | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 lib/libc/stdio/stdin.c (limited to 'lib/libc/stdio/stdin.c') diff --git a/lib/libc/stdio/stdin.c b/lib/libc/stdio/stdin.c deleted file mode 100644 index 0d127efa..00000000 --- a/lib/libc/stdio/stdin.c +++ /dev/null @@ -1,19 +0,0 @@ -#include "__stdio.h" // for __FILE - -#include // for O_RDONLY -#include // for FILE, stdin -#include -#include // for STDOUT_FILENO - -#define BUFSIZ 4096 - -__weak char __stdin_buffer[0]; -struct __FILE __stdin = { .fd = STDOUT_FILENO, - .flags = O_RDONLY, - .buf = __stdin_buffer, - .type = 0x0, - .buf_size = BUFSIZ, - .buf_pos = 0, - .offset = 0 }; - -FILE *const stdin = (FILE *)&__stdin; -- cgit v1.2.3