On Fri, Nov 13, 2015 at 09:27:17AM +0100, Jan Synáček wrote:
> Hello,
> 
> if anybody lurking here and hacking on systemd also likes scheme, I
> created bindings for GNU Guile [1]. The API is far from covered, but
> journal API and sd_listen* stuff is usable. You can now write socket
> activated services in scheme!
> 
> [1] https://github.com/jsynacek/guile-systemd

Hi,

when you construct a list like this, do you have normal or reverse order:
    for (i = 0; i < r; i++)
       s_fds = scm_cons(scm_from_int(SD_LISTEN_FDS_START+i), s_fds);
?

return sd_booted() ? SCM_BOOL_T : SCM_BOOL_F;
→ sd_booted can return negative for error.


Zbyszek
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to