Software /
code /
prosody
File
plugins/mod_posix.lua @ 13574:f29d15aef6f8
util.pposix: Add fdopen() to return a Lua file object from an fd
Now we can, for example, read/write pipes using Lua's standard I/O routines.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 20 Nov 2024 12:08:59 +0000 |
parent | 13461:c673ff1075bd |
line wrap: on
line source
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- module:set_global(); -- we're a global module -- TODO delete this whole concept