guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pollfd-offset


From: Ludovic Courtès
Subject: pollfd-offset
Date: Wed, 22 Jun 2011 16:24:35 +0200
User-agent: Gnus/5.110017 (No Gnus v0.17) Emacs/24.0.50 (gnu/linux)

Hello,

(ice-9 poll) reads:

  (define-syntax pollfd-offset
    (syntax-rules ()
      ((_ n) (* n 8))))

I guess 8 is really sizeof (struct pollfd), right?

In that case, how about getting it at configure time and exporting it
from C?

Thanks,
Ludo.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]