From bd0fb8fe5bcaa150010bfb44f1c7ccbf71997c96 Mon Sep 17 00:00:00 2001 From: apio Date: Sun, 15 Oct 2023 13:09:22 +0200 Subject: [PATCH] libc: Add pclose definition The function was already implemented, but no definition in the header... --- libc/include/stdio.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libc/include/stdio.h b/libc/include/stdio.h index d8b00e3a..6abed458 100644 --- a/libc/include/stdio.h +++ b/libc/include/stdio.h @@ -208,6 +208,9 @@ extern "C" /* Pipe a stream to or from a process. */ FILE* popen(const char* command, const char* type); + /* Close a pipe stream. */ + int pclose(FILE* stream); + /* Return the path of the process's controlling terminal (always /dev/tty on Luna). */ char* ctermid(char* s);