From: Kaloian Doganov <kaloian@doganov.org>
To: guile-user@gnu.org
Subject: Re: (fcntl fd F_GETLK ...) from Guile
Date: Sat, 01 Sep 2007 12:53:04 +0300 [thread overview]
Message-ID: <87d4x2btkv.fsf@doganov.org> (raw)
In-Reply-To: 874pif8dr5.fsf@zip.com.au
Kevin Ryde <user42@zip.com.au> writes:
It'd need something for "struct flock" (and "struct flock64" when
available), they're not plain integers like the other fcntl
commands.
Yes, currently I don't know how to represent this structure in Guile,
even with those define's suggested by dsmich:
(define F_GETLK 5)
(define F_SETLK 6)
Kevin Ryde <user42@zip.com.au> writes:
There's `flock' already for whole-file, if that's enough.
I need to do record (range) locking, not whole-file locking, and I
hoped to do it with Guile.
--
Protect your digital freedom and privacy, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
next prev parent reply other threads:[~2007-09-01 9:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-31 12:58 (fcntl fd F_GETLK ...) from Guile Kaloian Doganov
2007-08-31 23:50 ` Kevin Ryde
2007-09-01 9:53 ` Kaloian Doganov [this message]
2007-09-02 0:30 ` Kevin Ryde
2007-09-03 8:10 ` Kaloian Doganov
2007-09-02 3:34 ` Mike Gran
2007-09-03 8:08 ` Kaloian Doganov
2007-09-03 13:41 ` Mike Gran
2007-09-11 15:00 ` Kaloian Doganov
2007-09-11 16:03 ` Mike Gran
-- strict thread matches above, loose matches on Subject: below --
2007-08-31 14:19 dsmich
2007-09-01 17:58 dsmich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d4x2btkv.fsf@doganov.org \
--to=kaloian@doganov.org \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).