static int lkopen_flock (const char *, int, mode_t, int *);
#endif /* HAVE_FLOCK */
static int lkopen_flock (const char *, int, mode_t, int *);
#endif /* HAVE_FLOCK */
static int lkopen_dot (const char *, int, mode_t, int *);
static void lkclose_dot (int, const char *);
static int lkopen_dot (const char *, int, mode_t, int *);
static void lkclose_dot (int, const char *);
fd = link(tmpfile, curlock);
(void) m_unlink(tmpfile);
fd = link(tmpfile, curlock);
(void) m_unlink(tmpfile);