Bug#190367: libc0.3-dev: fcntl F_GETLK not implemented (ENOSYS)
Package: libc0.3-dev
Severity: normal
the F_GETLK fcntl is unimplemented in libc0.3, it returns a
ENOSYS errno. a simple test case:
#include <stdio.h>
#include <fcntl.h>
#include <errno.h>
main (int argc, char **argv)
{
int fd = open (tmpnam (NULL), O_CREAT);
struct flock lock;
if (fcntl (fd, F_GETLK, &lock) == -1)
perror (NULL);
}
--
Robert Millan
make: *** No rule to make target `war'. Stop.
Another world is possible - Just say no to genocide
Reply to: