]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/basic/lockfile-util.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
5 This file is part of systemd.
7 Copyright 2011 Lennart Poettering
15 typedef struct LockFile
{
21 int make_lock_file(const char *p
, int operation
, LockFile
*ret
);
22 int make_lock_file_for(const char *p
, int operation
, LockFile
*ret
);
23 void release_lock_file(LockFile
*f
);
25 #define LOCK_FILE_INIT { .fd = -1, .path = NULL }