/* flock.c (emx+gcc) -- Copyright (c) 1993 by Eberhard Mattes */

#include <sys/emx.h>
#include <sys/file.h>
#include <errno.h>

int flock (int handle, int operation)
{
  if (handle < 0 || handle >= _nfiles)
    {
      errno = EBADF;
      return (-1);
    }
  /*...this is a dummy function...*/
  return (0);
}
