summaryrefslogtreecommitdiff
path: root/cmd/runsvc/runsvc.h
blob: 9f1a946d8a3a15bc86cca973d0a029bf878dfeb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: ISC */
#ifndef RUNSVC_H
#define RUNSVC_H

#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <fcntl.h>

#include "service.h"
#include "libcfg.h"
#include "util.h"

#define ENVFILE ETCPATH "/initd.env"

int initenv(void);

#endif /* RUNSVC_H */