MESSAGE
DATE | 2011-06-26 |
FROM | Ruben Safir
|
SUBJECT | Subject: [NYLXS - HANGOUT] (fwd) Re: C++ file locking
|
-- forwarded message -- Path: reader1.panix.com!panix!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!b1g2000yql.googlegroups.com!not-for-mail From: "Lukas 'Erdk' Redynk" Newsgroups: comp.os.linux.development.apps Subject: Re: C++ file locking Date: Wed, 8 Jun 2011 01:37:38 -0700 (PDT) Organization: http://groups.google.com Lines: 11 Message-ID: <16265495-eb93-4e2e-a46c-f16bb6b19d9e-at-b1g2000yql.googlegroups.com> References: NNTP-Posting-Host: 233.179.30.135 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1307522258 1632 127.0.0.1 (8 Jun 2011 08:37:38 GMT) X-Complaints-To: groups-abuse-at-google.com NNTP-Posting-Date: Wed, 8 Jun 2011 08:37:38 +0000 (UTC) Complaints-To: groups-abuse-at-google.com Injection-Info: b1g2000yql.googlegroups.com; posting-host=233.179.30.135; posting-account=eLpnuQoAAAC4GKaT2nAWargg9SZ7ZB33 User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1,gzip(gfe) Xref: panix comp.os.linux.development.apps:166493
On Jun 7, 2:24=A0pm, Ruben Safir wrote: > Is there any means to do file locking with C++? > > Ruben
You could try this: http://linux.die.net/man/3/lockf or http://www.manpagez.com/man/2/fcntl/ - especially F_GETLK and F_SETLK
Erdk -- end of forwarded message --
|
|