|
From: | Ludovic Courtès |
Subject: | Re: Using libnotify from Guile |
Date: | Tue, 05 Jan 2016 10:40:26 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Neil Jerram <address@hidden> skribis: > I noticed you asked about libnotify on IRC Also note that glibc built for the Linux kernel provides wrappers for a bunch of inotify syscalls in <sys/inotify.h>: --8<---------------cut here---------------start------------->8--- $ objdump -T .guix-profile/lib/libc.so.6 | grep inotify 00000000000e9cc0 g DF .text 0000000000000021 GLIBC_2.9 inotify_init1 00000000000e9cf0 g DF .text 0000000000000021 GLIBC_2.4 inotify_rm_watch 00000000000e9c90 g DF .text 0000000000000021 GLIBC_2.4 inotify_init 00000000000e9c60 g DF .text 0000000000000021 GLIBC_2.4 inotify_add_watch --8<---------------cut here---------------end--------------->8--- So you could avoid libnotify altogether with things like: (dynamic-func "inotify_init" (dynamic-link)) Ludo’.
[Prev in Thread] | Current Thread | [Next in Thread] |