EMILUA(3em)
π NAME π
okay so <pink>EMILUA(3em)</pink> is the manual page for Emilua β the Lua execution engine, bestie. That's the whole vibe up top. π
β¨
β¨ FUNCTIONS β¨
here's the full function menu, and no we are not skipping any of it. eat every crumb. π
new() β pipe.write_streamβ okay so this constructor comes in two flavors:
new() (1)
new(fd: file_descriptor) (2)
(1)β default constructor.(2)β converts a file descriptor into a pipe end.
close(self)β close the pipe.
it forwards the call to the same-named function in Boost.Asio at https://www.boost.org/doc/libs/1_79_0/doc/html/boost_asio/reference/basic_writable_pipe/close/overload2.html, and that function says:
Any asynchronous write operations will be cancelled immediately, and will complete with the boost::asio::error::operation_aborted error.
cancel(self)β cancel all asynchronous operations associated with the pipe.
it forwards the call to the same-named function in Boost.Asio at https://www.boost.org/doc/libs/1_79_0/doc/html/boost_asio/reference/basic_writable_pipe/cancel/overload2.html, and that function says:
This function causes all outstanding asynchronous write operations to finish immediately, and the handlers for cancelled operations will be passed the boost::asio::error::operation_aborted error.
assign(self, fd: file_descriptor)β assign an existing native pipe toself. slay. π«Άrelease(self) β file_descriptorβ release ownership of the native descriptor implementation.
it forwards the call to the same-named function in Boost.Asio at https://www.boost.org/doc/libs/1_80_0/doc/html/boost_asio/reference/basic_writable_pipe/release/overload2.html, and that function says:
This function causes all outstanding asynchronous write operations to finish immediately, and the handlers for cancelled operations will be passed the boost::asio::error::operation_aborted error. Ownership of the native pipe is then transferred to the caller.
write_some(self, buffer: byte_span) β integerβ write data to the pipe and block the current fiber until it completes or errs. returns the number of bytes written. periodt. π₯
πΈ PROPERTIES πΈ
is_open: booleanβ whether the pipe is open. literal vibe check: open or not, iykyk. π
xoxo, this iconic page is from Emilua version 0.12.1-nixpkgs1, dated 1980-01-01. πβ¨
π¦ where this page comes from
- nixos 26.05: emilua 0.12.1
- nixpkgs unstable: emilua 0.12.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms