From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chaos Eternal Newsgroups: gmane.lisp.guile.devel Subject: Re: inotify ffi Date: Wed, 12 Nov 2014 01:59:13 +0800 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1415728778 20918 80.91.229.3 (11 Nov 2014 17:59:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Nov 2014 17:59:38 +0000 (UTC) To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Nov 11 18:59:32 2014 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XoFj2-0007lX-7y for guile-devel@m.gmane.org; Tue, 11 Nov 2014 18:59:32 +0100 Original-Received: from localhost ([::1]:50086 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoFj1-0008Jn-V2 for guile-devel@m.gmane.org; Tue, 11 Nov 2014 12:59:31 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoFiq-0008CG-Rg for guile-devel@gnu.org; Tue, 11 Nov 2014 12:59:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XoFik-0004TA-ND for guile-devel@gnu.org; Tue, 11 Nov 2014 12:59:20 -0500 Original-Received: from mail-ig0-f177.google.com ([209.85.213.177]:58815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoFik-0004T0-Jh for guile-devel@gnu.org; Tue, 11 Nov 2014 12:59:14 -0500 Original-Received: by mail-ig0-f177.google.com with SMTP id hl2so1438360igb.4 for ; Tue, 11 Nov 2014 09:59:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=AFt8s1djPiFv8mnQD0KTlVKcuINHZumSXm3/xKqG8JY=; b=e1bCizhIYmyu/EvxtN6BBZsItUE+9ItrUG3O9lMi62ZeyeH6rds0uFwsg/aEvYRxPg SVdP1uQWCn2hxHlfOSY7t28aLKJw0Yt8k/nDKt9ZtfBmJqeBVlFGnx6GLB2guFrrqXpC SIZuAa5bBn2G+h0as/+4D9vdSrsxR7NVNPq2Aidp4Zl2v/qEJvzrQwBr1QJ44mj20aFn ZgXHxtD0drkD2O4/h/8aAFtCnHyimoRNnVC/glYm+vzwzE9gpq0TVw4AjT+GbWxY1Tw7 U/y9czkEDYBz/ZamweJrD8vJvfrXMjIaNEm6vda3N/X4hn+qeKQ+bU+FPv5v9nuuzXxN dxQQ== X-Gm-Message-State: ALoCoQlICdUoR2cfsnJEGPNw1YRLQAnSzsyLGofw1cFnHhLRT23SBIeKRk01UKsg39k1VlStyku0 X-Received: by 10.50.136.134 with SMTP id qa6mr34459012igb.2.1415728754013; Tue, 11 Nov 2014 09:59:14 -0800 (PST) Original-Received: by 10.64.102.40 with HTTP; Tue, 11 Nov 2014 09:59:13 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.213.177 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:17600 Archived-At: and it is not very portable. On Wed, Nov 12, 2014 at 1:55 AM, Chaos Eternal wrote: > i wrote a FFI to inotify system call. > > https://github.com/ChaosEternal/guile-inotify2 > > procedures: > * inotify-init > * inotify-init1 > * inotify-add-watch > * inotify-rm-watch > * inotify-read-port > > the errno handle is unreliable, use with caution. > > License: LGPL v3