libc: Add pclose definition

The function was already implemented, but no definition in the header...
This commit is contained in:
apio 2023-10-15 13:09:22 +02:00
parent 15d5f00cd3
commit bd0fb8fe5b
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -208,6 +208,9 @@ extern "C"
/* Pipe a stream to or from a process. */ /* Pipe a stream to or from a process. */
FILE* popen(const char* command, const char* type); 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). */ /* Return the path of the process's controlling terminal (always /dev/tty on Luna). */
char* ctermid(char* s); char* ctermid(char* s);