By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,584 Members | 1,774 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,584 IT Pros & Developers. It's quick & easy.

flock() working mechanism..

P: n/a
hi all the C users,

i must write a function similar(or exactly) same as flock() with
instead of simply giving fd, IPADDRESS:fd which resovles the IPADDRESS
and then acts on the fd over there for a project i'm doing.

if there are any specifications that define things like what should
flock() do and #define LOCK_SH ? and #define LOCK_EX ? please provide
some pointers.

thank you

Nov 14 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Ckid wrote:
hi all the C users,

i must write a function similar(or exactly) same as flock()
with instead of simply giving fd, IPADDRESS:fd which resovles
the IPADDRESS and then acts on the fd over there for a project
i'm doing.


This is beyond the scope of the C language standards which do
not define flock(). As such, your question is off topic in clc.

--
Peter

Nov 14 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.