Re: lockf missing ?

[email protected]
Newsgroups gmane.linux.lsb.discuss
Message-ID <[email protected]>
On Fri, 11 Apr 2003, Nils O. [ISO-8859-1] Selåsdal wrote:

> Ok. It's not always easy for me to determin what should/should not be
> part of LSB, what's missing from lsbdev-base and so on.

The specification can be found at http://ww.linuxbase.org/spec/ It has an
appendix that is just a list of all of the interfaces. This is a good place to
quickly look to see if an interface is included or not.

If an interface is included, then all associated structures and constant
values should also be included.

> lockf is defined as extern void lockf(void);
> changing that to
> int lockf(int fd, int cmd, off_t len);
> makes it work.

Sigh.. I'm not too suprised. If we missed the flag values, then missing the
function signature also would be likely. Thanks for finding these for us.


                                Stuart

[email protected]                             Free Standards Group
Lead Developer, Written Specification                  Linux Standard Base
1024D/37A79149:                                        0791 D3B8 9A4C 2CDC A31F
                                                       BD03 0A62 E534 37A7 9149
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.