From: Bernard Johnson (hbj@engr.engr.uark.edu)
Date: 08/08/93


From: hbj@engr.engr.uark.edu (Bernard Johnson)
Subject: is there a lockf() function?
Date: Mon, 9 Aug 1993 01:22:58 GMT

I was doing some porting yesterday and my sources wouldn't compile because
there was no lockf() call. I know Linux is somewhat SysVish and somewhat
BSD so I guess that is a place it's more BSD? (BSD, or non-SysV for that
matter, has no lockf()).

Anyway, after looking through my Stevens book, it described the lockf() call
as just a frontend to fcntl(). So I spent a few minutes and wrote the lockf().

Have I maybe overlooked a lockf() that was already written? Should we build
a lockf() into the libc?

Bernard Johnson
hbj@engr.engr.uark.edu