summaryrefslogtreecommitdiff
path: root/src/libs6/s6_supervise_lock.c
blob: e2413202b6b6cc67f879c33617d6bf4a52f0674b (plain)
1
2
3
4
5
6
7
8
9
/* ISC license. */

#include <sys/stat.h>
#include <s6/s6-supervise.h>

int s6_supervise_lock (char const *subdir)
{
  return s6_supervise_lock_mode(subdir, S_IRWXU, S_IRUSR | S_IWUSR) ;
}