bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libc0.3-dev: fcntl F_GETLK not implemented (ENOSYS)


From: Robert Millan
Subject: libc0.3-dev: fcntl F_GETLK not implemented (ENOSYS)
Date: Wed, 23 Apr 2003 19:48:43 +0200
User-agent: Mutt/1.5.4i

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 via email to

[Prev in Thread] Current Thread [Next in Thread]