xieite::file_pipe::close()

Defined in fragment xieite:file_pipe
(header-only: <xieite/io/file_pipe.hpp>)


Closes a xieite::file_pipe. Automatically called upon destruction.


Declaration

void close() noexcept;


Example

import xieite;

int main() {
	auto pipe = xieite::file_pipe("echo", "r");

	pipe.close();
}