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

#include <sys/types.h>
#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) ;
}