aboutsummaryrefslogtreecommitdiffstats
path: root/src/s6/service_status.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/s6/service_status.c')
-rw-r--r--src/s6/service_status.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/s6/service_status.c b/src/s6/service_status.c
deleted file mode 100644
index 5bf71b5..0000000
--- a/src/s6/service_status.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/* ISC license. */
-
-#include <skalibs/uint64.h>
-#include <skalibs/strerr.h>
-#include <skalibs/gol.h>
-
-#include "s6-internal.h"
-
-#define USAGE "s6 service status services..."
-#define dieusage() strerr_dieusage(100, USAGE)
-
-enum golb_e
-{
- GOLB_WAIT,
- GOLB_N
-} ;
-
-static gol_bool const rgolb[2] =
-{
- { .so = 'w', .lo = "wait", .clear = 0, .set = 1 << GOLB_WAIT }
-} ;
-
-int service_status (char const *const *argv)
-{
- uint64_t wgolb = 0 ;
- PROG = "s6 service status" ;
-
- argv += gol_argv(argv, rgolb, 0, 0, 0, &wgolb, 0) ;
- if (!argv) dieusage() ;
- return 0 ;
-}