2
* Copyright 2010-2011 Red Hat, Inc.
4
* This copyrighted material is made available to anyone wishing to use,
5
* modify, copy, or redistribute it subject to the terms and conditions
6
* of the GNU General Public License v2 or (at your option) any later version.
10
#define __LOCKFILE_H__
12
int lockfile(const char *dir, const char *name);
13
void unlink_lockfile(int fd, const char *dir, const char *name);