[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: some lua in C
- From: rjek@...
- Date: Wed, 10 Jan 2001 14:16:15 +0000
On Wed, Jan 10, 2001 at 04:08:55PM +0200, Max Ischenko wrote:
>
> I'm implementing C wrapper around pidof command.
<snip>
> In lua i wrote
> t = {}
> s = pidof('rxvt')
> gsub(s, '(%S+)', function (str) tinsert(%t, str) end)
>
> How can rewrote it in C?
Which version of Lua are you using? The method can change somewhat
between versions.
--
Rob Kendrick - http://www.digital-scurf.org/
Good news from afar can bring you a welcome visitor.