Hi, James Carlson píše v út 06. 07. 2010 v 08:50 -0400: > Stephan Ferraro wrote: > > I can't find man pages about flock and I can't compile my programs which > > uses flock(...). > > I found something similar called flockfile(). Does this mean flockfile > > should be used instead of flock? > > flockfile isn't related to the old BSD flock. Instead, it's an MT > primitive for standard IO streams. > > What you probably want in a modern program is lockf() or the fcntl() > locking mechanisms. > > I don't know what happened to flock on OpenSolaris. It was (on old > Solaris) in the UCB compatibility package. >
It is still there: compatibility/ucb aka SUNWscp contains /usr/ucblib/[64]/libucb.so.1 Best regards, Milan _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code