On 07/06/14 14:58, Thomas Adam wrote:
On 6 July 2014 13:54, Gustav Fransson Nyvell <[email protected]> wrote:
I heard about the iPhone? Thanks, I'll look it up. //Gustav
No, not Apple, for goodness sake, man! See this:
http://www.openbsd.org/cgi-bin/man.cgi?query=msgbuf_drain
-- Thomas Adam
Hi,
Someone took a bit of the apple.
But, hm.
This imsg looks pretty much like what I've done, however, libmessage
does not require any bounds checking whatsoever. It's way easier to use.
I'm currently tracking accept(2) through it. All it needs is one line
where accept is defined. However, not sure libmessage is very unixy, not
in syntax at least. imsg wins there. :P
I've made some updates so that the sending function forks inside so that
there is practically no delay when it's used. Though, it does not fork
in threads as that seems to disturb some programs (urxvtc specifically.)
Of course, I guess libmessage maybe could use imsg as it's backend. :D
Do you know where/how imsg stores it's data/messages? Before I have a
look...
I put the tarball up on my HTTP now. http://nyvell.se/db/libmessage.tar
SHA256 (libmessage.tar) =
5e1073a258cd3f0970ecd7999215b2afe7cf4b253205b96b2a77a0c168814a9e
If you're interested...
//Gustav
--
This e-mail is confidential and may not be shared with anyone other than
recipient(s) without written permission from sender.